WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-02-2011, 12:33 PM
Chapre Chapre is offline
Member
 
Join Date: Sep 2010
Posts: 36
Question 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,...)?

Last edited by Chapre; 05-02-2011 at 12:35 PM.
Reply With Quote
  #2  
Old 05-03-2011, 12:20 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,465
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing textures in an executable Dave Vizard 7 10-22-2010 07:59 AM
Textures Scrambled lionfish Vizard 3 02-26-2010 01:42 AM
Multiple Textures for Diffuse and Specularity Shader Issue shivanangel Vizard 1 05-11-2009 10:44 AM
Max -> Vizard, Two Sided Textures shivanangel Vizard 5 12-04-2008 03:15 AM
number of textures to load lucalatini Vizard 2 05-12-2005 05:50 PM


All times are GMT -7. The time now is 08:41 AM.


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