[Coin-discuss] SoShaderTextureParameter?

Bruno Jobard bruno.jobard at univ-pau.fr
Mon Apr 21 04:32:24 EDT 2008


Hello,

How should one pass a uniform texture parameter to a GLSL vertex or
fragment shader? Either with the C++ API or trough the iv file format?

It is clear that we can declare SoUniformShaderParameter for ints,
floats or arrays, but how should it be done for textures?

I found a mention to a SoShaderTextureParameter in a comment in the
header file:
http://doc.coin3d.org/Coin/SoShaderParameter_8h-source.html
but nothing more; even with a rgrep on the source code...

Thanks in advance for your help,

Bruno.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: bruno_jobard.vcf
Type: text/x-vcard
Size: 408 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20080421/ae3fd20e/attachment.vcf>


More information about the Coin-discuss mailing list