Parallax Mapping Effect w/ Material Nodes

This is a method of making a Parallax mapping effect using only material nodes, with no python. It does this using three layers of one texture image, differently affected by combined UV and Normal vector input, and then blended together with a simple grayscale bump map.

http://i208.photobucket.com/albums/bb43/padfoot7726/parallax-1.jpg

Video:

Blend File:
http://www.pasteall.org/blend/2231

pretty cool!

wow thats really impressive

Thanks for the reply on youtube :slight_smile:

The node setup in the video looks big and complex, node materials in the BGE could very well be more powerful than a lot of people thought.:spin:

amazing! congratulations that is impressive

On my computer I get very strange results. The top part works as expected, with the near side showing more as I move to an extreme angle. The middle section has little to no change, and the bottom section is reversed so I see more of the far section (but doesn’t appear as though the heightmap is reversed- the face of the brick still occludes the sides). Additionally, the parallax appears to only have an effect along the Y axis, if I look down the X axis there’s no parallax along the camera (though I still see the effect along the object’s Y axis)

I’m on a mac, with an nvidia card, in case that makes any difference.

[edit] after a few more minutes rotating it around, I’m pretty sure what I’m seeing is that it knows if the camera is looking up, down, or straight on at the face- but it doesn’t know which edge is closer to the camera, so it shifts the texture as though the top and bottom are both closest, and the sides are parallel to the camera’s sides.

I would love to have seen this shader… is there anyone who can repost the actually node setup. The link is broken.

same here it looks great and ive never figuerd out how to get nodes to appear in view port.

I watched the demo video and setup he had in that video and tried to recreate the node setup from that. It’s not right though and I don’t have any more time at the moment to fiddle with it. Maybe someone else wants to see if they can get this running correctly.

PS it’s in 2.54

I watched the demo video and setup he had in that video and tried to recreate the node setup from that. It’s not right though and I don’t have any more time at the moment to fiddle with it. Maybe someone else wants to see if they can get this running correctly.

PS it’s in 2.54

Attachments

NODESETUP.blend (923 KB)

its cool …hmm still a problem but ok! a texture is floating there…i mean its “reflecting” ,kind of… but great work…i am glad because this is the only paralax which works with multiple lights! sorry for my bad english

Yeah, that texture ‘floating’ is where the problem is. The texture doesn’t seem to be distorting in the correct direction.

Can you please repost the blend file? Pleeeeeeeease!!!

Thank you!

i second reposting the file i would love to see this! :slight_smile:

It really should be re posted

Repost would be awesome!

What they said! Also anyone has a guide about setting this up? So I’ll understand more how it works. Thanks!

I guess I am not following this. Its a nice Brick wall, but whats the difference between it and normal mapping?

@ daren:
Well, for Example the tiny, little Difference that a Normalmap fakes Lighting & Shading with the Texture/Surface still looking flat, while this here adds a geometric 3D-Effect to a still flat Surface, but therefore makes it look 3D instead of flat.