Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
247 views

Why does Blender invert/rotate the UV coordinates in OSL?

I have a very simple setup (see picture). I would expect that when I do shader myshader(output color Cout = color(0.0, 0.0, 0.0)) { Cout = color(u, 0.0, 0.0); } ...
6 votes
1 answer
1k views

getattribute() in osl is not working

I'm trying to get the UV coordinates of from UVMap using getattribute() as follows : ...