[Bf-cycles] UV, not working well in OSL Script node

Dalai Felinto dfelinto at gmail.com
Tue Oct 9 08:19:09 CEST 2012


Hi there,

I'm testing the OSL node (in lukas' branch) and I noticed that u,v is
not getting the information from Blender.
See file http://www.pasteall.org/blend/16845 or image:
http://www.pasteall.org/pic/38655

The test shader source is very simple:
####
surface
example_shader_1
(
    output closure color fora = 0
)
{
    fora = color(u, v, 1.0) * emission();
}
####

Any clues on whether it's a todo in cycles, or something in the "OSL
script" node implementation?
Thanks,
Dalai


More information about the Bf-cycles mailing list