Hello.
Is there any shader that would convert object position to RGB?
I don’t mean the rendered point position but the rendered object xyz position.
I’m asking because I’m trying to create moss on the bottom of rocks that are scattered an rotated.
Because they are rotated I can’t map locally because moss limit is horizontal regardless of object rotation.
If I could have a solid color by object representing it’s position (blue would be z value) I could use warptexture to move a world ZX mapped map to move to object position
Any ideias of a better way to do this?
Thanks
PS: I’m evaluating the use of vraydistancetex but I think it would be too slow rendering because its a large surface scattered with many rocks