WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   Masking specific color on texture applied (

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 08:27 PM.

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