0

Use of Sampler2D

There is a note in the documentation about the possibility to use sampler2D for custom GLSL node but there is actually no example on how to use this parameter in python code. Can you provide please such an example or at least explain how to use it? How to bind a texture to this sampler in python code?

 

Thanks,

 

Christophe

1 comment

  • 0
    Avatar
    Jon Morley

    Hi Christophe,

    The Sampler2D is not a part of the Python API. It is a part of the custom GLSL node API. Can you please tell me what version of RV you are using and on which platform?

    Then please let us know what your big picture goals are with the RV extension you are working on so I can help you find the best approach.

    Thanks,
    Jon

Please sign in to leave a comment.