WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Masking specific color on texture applied (https://forum.worldviz.com/showthread.php?t=3733)

Chapre 05-02-2011 12:33 PM

Masking specific color on texture applied
 
Is it possible to mask a specific color of a texture in such a way the color appears transparent when that texture is applied to a 2D object (quad, face,...)?

Jeff 05-03-2011 12:20 PM

You can create a texture with alpha channel so that part of the texture is transparent.

To just make a certain color transparent you could do this with a simple shader. Take a look at the alphaMap example in the docs and the alphaMapper.frag program it uses for some ideas. Also, if you have Vizard 4 installed the shader documentation has been updated and may be helpful.


All times are GMT -7. The time now is 05:37 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC