Parallax Mapping mit OpenGL

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
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Parallax Mapping mit OpenGL

Post by porcus »

I noticed, that there are problems with Parallax Mapping and OpenGL.
If I choose the OpenGl driver the Parallax Map isn't showed like with
DirectX. The surface is flatter then in DirectX.
Is there any way to correct this?
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post by hey_i_am_real »

Could you show us a capture please ?

I remember last year, I encountered a similar "bug".
If I recall correctly, it was related to the alpha channel of a texture that was handled differently by the OpenGL driver of the engine ...
I like working with rank-outsiders, as long as they give themselves the means to achieve their ambitions.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, it's a known bug. But none of the shader guys did post a fix, yet.
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post by hey_i_am_real »

There was a workaround though, because I remember I managed to get the parallax working. (a simple texture conversion if I recall)

Then, I noticed there was a problem with fog when shaders were used, and I submitted a patch proposal.

Unfortunately, I can't test shaders on this computer ...
I like working with rank-outsiders, as long as they give themselves the means to achieve their ambitions.
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Post by porcus »

So, heres the screenshot:

Image

I hope someone has an idea how to fix this.
TheGameMaker
Posts: 275
Joined: Fri May 12, 2006 6:37 pm
Location: Germany

Post by TheGameMaker »

i did a small change to my Bumpmappingshader, that made a Parallax shader outo' it.. (the difference is pretty small..) Have to have a look wether I still have it.
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Post by porcus »

@The Game Maker:
I've already saw your shader at irrlicht3d.de, but what do I have to change,
that the shader will became a Parallax Shader ?
Post Reply