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,...)?
|
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 03:20 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC