[osg-users] How to generate fixed alpha value?

Judy 515415812 at qq.com
Sun Nov 19 08:10:36 PST 2017


Hi all,
Now,I have a flt. model with itself  texture,but the internal format of the texture is RGB,not with ALPHA value,so the ALPHA TEST function is disabled.
My question is  how to generate some random fixed alpha value of the texture with the GLSL language,So that I can use the ALPHA TEST function to fufill the point cloud.


Thanks very much!
Judy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171120/f4604b88/attachment.html>


More information about the osg-users mailing list