Hi!
Am having a problem trying to get my version of an interior mapping shader to work in Houdini. http://www.proun-gam…riorMapping.txt [proun-gam]
The surface takes two inputs position(P) and a direction from camera(I).
It works fine in world position however I would like to translate the geometry so as best to fit my “windows” in different positions/rotations. When I do this at object level the shader sticks to the surface and works fine.
How do I replicate this effect when transforming the geometry at sop level?
Using a rest position instead of the world position works for translation, however, if I rotate the surface it warps. How do I translate my I vector so that it will work as it does at object level?
Any help is much appreciated! I am really lacking in maths knowledge here and would appreciate anyone weighing in with their thoughts.
Files attached Thanks!