Announcement

Collapse
No announcement yet.

GLSL, OSL, etc - Shader attributes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GLSL, OSL, etc - Shader attributes

    Hi everyone,

    I'm using the lastest nightly build of VRay 3 for Maya 2015.

    Is there a way to connect something in shader attributes of VRayMtl(Tex)GLSL(OSL,MDL,etc...) ??
    Right now I have some attributes on GLSL shader but I've only manage to plug in some texture into sampler2D parameter.
    I didn't manage to conenct anything to the other parameter (float, int, vec etc...) .

    Is there a way to do so ?

    Thanks in advance,

    Max

  • #2
    No, unfortunately.

    GLSL supports connecting texture nodes only to samplerXXX inputs as far as I know.
    OSL as language supports connecting matching types of inputs and outputs, but unfortunately this functionality is missing in our implementation. It is something we hope to support in the future.
    MDL has or should have (in a future release) support for file textures.
    V-Ray developer

    Comment

    Working...
    X