transparent textures..

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

transparent textures..

Post by dreamport »

i have a texture which is transparent blue...

if i load the mesh with EMT_TRANSPARENT_CHANNEL_REF with true or false,

the whole mesh disappear...
opensource = freedom
<br>
how can you face the problem if the problem is your face?
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

i think it should be EMT_TRANSPARENT_ALPHA_CHANNEL_REF instead? and also for EMT_TRANSPARENT_ALPHA_CHANNEL_REF the parts of your texture that had an alpha below 128 would be invisible and the parts with alpha 128 or higher would render.

if you need half transparent you should use EMT_TRANSPARENT_ALPHA_CHANNEL instead
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
Bear_130278
Posts: 237
Joined: Mon Jan 16, 2006 1:18 pm
Location: Odessa,Russian Federation

Post by Bear_130278 »

What means transparent blue?
Do you like VODKA???
Image
Image
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

hey virion thnx for that.. absolutely solved my problem ^^
opensource = freedom
<br>
how can you face the problem if the problem is your face?
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

Bear_130278 wrote:What means transparent blue?
i think he probably means half transparent surface with blue color
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
Post Reply