lighting disabled with EMT_TRANSPARENT_ALPHA_CHANNEL_REF

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

lighting disabled with EMT_TRANSPARENT_ALPHA_CHANNEL_REF

Post by Virion »

i noticed that in OpenGL (only) when i put my model's material type as EMT_TRANSPARENT_ALPHA_CHANNEL_REF it will have no effect on lighting. If I switch it back to EMT_SOLID it will become fine again. but
1. my models has transparent textures
2. ubuntu has no directx

it suppose to be like this (render in dx)

Image

but in opengl it looks like this:

Image
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

is it just with _REF or with EMT_TRANSPARENT_ALPHA_CHANNEL too?
Image Image Image
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

just _REF. but when i chose EMT_TRANSPARENT_ALPHA_CHANNEL i got this:

p/s. i increased the brightness of the whole image to let you see clearer
Image

yellow: my ice gone!
red: some kind of artifacts?

i'm using the latest svn and under ubuntu
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Is this 1.4.2 or older? The lighting effect should be easily fixed by just modulating the underlying color value, seems to miss in that material.
Post Reply