Parallax mapping problem

Hi, I was wondering if I could get help with a problem I’ve been having with parallax textures.
I have a room setup, with a door at one end, the door is a seperate model to the wall, and both of them have parallax textures.
When I click on the wall and hit ‘save’ the parallax map scales down on the door model, but looks fine on the wall. Where as when I click on the door, the wall’s texture gets “curvy” and looks flat, but the door looks fine.

Wall clicked :

Door clicked :

I think it’s an issue with the height map tiling abnormally.
Thanks in advance!

Also, if anyone knows of a Steep Parallax/Relief shader that works with unity 3.3, could you give me a link?

Thanks,

Daniel

Yes here is Relief map shader. I havent tested it out yet but i will soon.

The second shader (Relaxed Cone) works, but it doesn’t use scene lighting, you have to define the light source within the shader and looks a bit ‘off’.
Thanks anyway.

And bump for main question…

http://forum.unity3d.com/threads/32451-Fabio-Policarpo-Relief-Mapping-with-Correct-Silhouettes?p=518132&highlight=relief+mapping#post518132

Scroll down for a working (3.2) version of the relief mapping shader that makes use of scene lighting and shadows.

Thanks Frank, that one did the trick. Just having a bit of a problem with the normal map, it seems to be quite out of position, I’ll try find a fix.

New info on the main topic:
I found out that when the door and any other custom model comes into view, the wall’s height map disappears. A simillar thing was happening when I was putting transparent bumped specular textures onto objects. But I fixed that as I the only objects that use transparency are very small, and the bump mapping is hardly noticible anyway.
It may be a problem with the model, because I’m not very talented when it comes to modeling.

Edit:
The offset normal map is only present in the editor window, not when I preview or play the game.

Thanks,

Daniel

Bump…

Once again, Bump.