Reflections in water ?

Started by AW999, January 21, 2010, 04:15:01 AM

Previous topic - Next topic

EgonOlsen

I must have done something, because people refer to that code here and there...i just can't find it nor can i remember it... ;D

I'll take a look later today and maybe upload the latest version that i can find...

zammbi

QuoteI'll take a look later today and maybe upload the latest version that i can find...
Awesome thanks.

EgonOlsen

I'm really confused why this obviously never got released...i did it and i'm just blind...? Anyway, i've zipped everything and uploaded it here: http://www.jpct.net/download/misc/terrain.zip

It's not documented and pretty hacky for some parts, but it should get you started.

zammbi

That's a very nice example. How ever got a bit of a reflection bug:

EgonOlsen

What a mess...looks like as if the reflection texture never gets cleared or something...

This does happen when you are starting the runme.cmd? Which graphics card is that?

zammbi

QuoteThis does happen when you are starting the runme.cmd? Which graphics card is that?
Yes and the top left corner stuff is when I press M.

I'm running a intel 4500hd. Never had any problems like that before, and I've ran Starcraft 2 and Crysis fine...

zammbi

Its like only 1/4 of my reflection texture is being cleared.

EgonOlsen

Both are D3D, not OpenGL. Intel is crap...crappy chipsets with crappy drivers... >:(...anyway, try to set Config.glUseFBO to false. You have to create a project from the sources to do so, i'm afraid.

zammbi

True, not sure if I tested any openGL games that are high requirements. I'll try it out the project tomorrow.

Going into wire mode is even more worse. I can only see 1/4 of the screen, nothing is cleared.