![]() |
|
#1
|
|||
|
|||
|
Changing alpha in already textured objects
A little problem I solved, that others might have. I was trying to set the alpha of an object:
cloudTexture = viz.addTexture('pink4.png') cloud = viz.addTexQuad() cloud.setPosition(0,0,0) cloud.texture(cloudTexture) cloud.alpha(0.5) This doesn't seem possible. The solution (for me) was to use an image that doesn't have alpha information, i.e. convert pink4.png to pink4.jpg. It then works ![]() Mike. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Collision with objects having alpha channel applied to | omidbrb | Vizard | 1 | 07-20-2009 10:56 AM |
| trouble changing subnode (child node) color, alpha, etc. | michaelrepucci | Vizard | 7 | 01-14-2009 09:38 PM |
| fixing alpha textured objects | joeymax | Vizard | 5 | 05-10-2008 12:31 AM |
| Could not find plugin to load objects... | halley | Vizard | 1 | 05-30-2006 12:01 PM |
| Changing the Color of On-the-Fly Objects | vjosh | Vizard | 1 | 01-05-2005 12:48 AM |