WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   TexQuad (viz.screen) and alpha issues (https://forum.worldviz.com/showthread.php?t=4239)

kovitch 05-14-2012 10:45 AM

TexQuad (viz.screen) and alpha issues
 
Hi!

I'm trying to use two TexQuad (on viz.screen) textures one over another.

The 1st image (the background) is a png with 0.25 of alpha value (this alpha value was added to the image in photoshop).

The 2nd image is another png and is 100% opaque.

Somehow, the background image is affecting the 2nd's image color, just as it is on top of my 2nd image.

How can I prevent the opaque image from being affected by the alpha one?

Best regars,

Alex.

Jeff 05-16-2012 08:13 AM

Have you tried increasing the drawOrder of the 1st image? Can you post the code you're using?

kovitch 05-17-2012 10:28 AM

The drawOrder helped me out! Thanks. :)


All times are GMT -7. The time now is 06:24 PM.

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