Q3-Map shader bug

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
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Q3-Map shader bug

Post by Acki »

Hi,
from another thread I got this q3 map: q3-level.zip
I loaded it with the example #16.Quake3MapShader and I found a problem with the shader objects in there...
there are light things (bulbs, lanterns), but they are only lit if you look at them from a specific angle...
Image
there is nothing but the map and the camera, so no dynamic lights or such...
I tried it with the DX9 and OpenGL drivers...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
burningreggae
Posts: 66
Joined: Wed Oct 04, 2006 2:07 pm

Post by burningreggae »

hi!.

it has nothing todo with dynamic lighting, in terms of vertex-lighting.

quake3 shader function
"tcgen environment"
creates lighting reflection

i know my implementation is not exact.
maybe somebody have the correct solution?.

in this special case ( i loaded the map with q3ase, cakewin) the shader produces dark colors ( maybe the author wanted to create mirror-reflections?) in all implementations, but on other angles...
in irrlicht the wrong effect is more visible..
burningreggae
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

burningwater wrote:it has nothing todo with dynamic lighting, in terms of vertex-lighting.
I didn't say that, I just mentioned that I didn't use a dynamic light on my own, because it looks like there is one... ;)
burningwater wrote:i know my implementation is not exact.
I thought so, that's why I wanted to point this error out... :lol:
burningwater wrote:maybe somebody have the correct solution?.
I hope so, too... ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
burningreggae
Posts: 66
Joined: Wed Oct 04, 2006 2:07 pm

Post by burningreggae »

yep;-)

He Acki, would you remind to change the Name Software2 in your irrExtensions to BurningsVideo? i would appreciate that!.

i added the DecalSceneNode from your extension to irrlicht ( will be checked in soon). but first i need a good free bullet texture to apply a demo-sceneNode. do you have any?

greetings!
burning reggae soul
burningreggae
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

don't highjack threads, please !!! ;)
this has nothing to do with this thread nor with Irrlicht...

you always can send me an email or PM or post your question in the project announcements forum
in the IrrExtensions thread... ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
burningreggae
Posts: 66
Joined: Wed Oct 04, 2006 2:07 pm

Post by burningreggae »

fix in burningvideo 0.40
burningreggae
Post Reply