Hello!
I'm slowing trying to learn how to create OSL textures.
But one thing is not clear for me and I would like to have you help about that.
I'm trying to do a simple thing. display an image texture, using a perspective projection type.
I other things in mind after that but I want to start with something like this, and I'm already struggling.
I want to be able to plug an image texture to my OSL texture node. To be able to display my image, I need to set its Projection to OSL UV, but I want to force the OSL Texture node to display it with the Perspective mode.
And in the mean time, be able to control the value of the Perspective Projection.
I had a look at the documentation:
https://docs.otoy.com/osl/input%20types/
But I'm a bit confused about how to use the information gave here.
"To specify a default projection type for projection input, use "projection:<type>"."
I will be very grateful if someone can enlighten me about that!