Parallax Mapping with Lightmaps

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
RAIC Games
Posts: 2
Joined: Fri Jul 06, 2012 3:50 pm

Parallax Mapping with Lightmaps

Post by RAIC Games »

Hi,

Is there a way to use Parallax Mapping and Lightmaps together :?:

i would it use for my game...

other Engines like Cafu Engine support Parallax Mapping and LightMaps... and it looks great

thx for Help

Greetz RAIC Games
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Parallax Mapping with Lightmaps

Post by hybrid »

At least not with full flexibility, using the unaltered engine. You have only two texcoords *or* tangent data in the vertex info. You'd also have to create a new material using the parallax shader with a lightmap base material. At least that's what I assume. But it's probably easier to just use the 2tcoords material and do the tangent calculation and the mixing of lightmap and parallax fragment in your own shader.
RAIC Games
Posts: 2
Joined: Fri Jul 06, 2012 3:50 pm

Re: Parallax Mapping with Lightmaps

Post by RAIC Games »

But... How i do this in my own Shader..

sry for my bad English...

Wenn ich in DeleD CE eine Map mit Lightmaps Mache und vom Mesh dann in Irrlicht die Tangenten Kalkulieren lassen,
dann wird die Lightmap garnicht oder nur Fehlerhaft angezeigt :(
Wie kann man das Ändern??

Kann man nicht die NormalMap in einen Anderen TexturSlot legen??

EDIT:

Welcher MapEditor ist der Beste für Irrlicht ?? Benutze bisher DeleD CE.

thx
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Parallax Mapping with Lightmaps

Post by hybrid »

You should be able to find some parallax shaders even on the forum, but more easily just anywhere on the internet. Since you already have the lightmaps properly attached, you can just use the lightmap base material and do everything in the shader.
Post Reply