Hi all!
I am having trouble with setting up displacement in shader from "restdisplace" volume (from ocean evaluate node in this case). When I try to do it in VOPSOP with "sample vector from volume" it works as expected, but I have no success when I try to replicate it in shader context. The reason I would like to do displacement in shader is to get fine details at render time, without having heavy geometry.
I tested the same setup in shader with simple 3D turbulent noise, and it works fine.
Also one quick side question, is there a way to "inspect" node output values (in shader context), to see if it is indeed outputing anything, becuase I suspect that maybe I'm not getting anything from "sample vector from volume" node. In VOPSOP I know I can check it out by creating new attribute and read out values from details view, but I don't know how to aproach this in shader context.
I provided simple test scene, so if anyone could take a quick look and tell me what am I doing wrong it would be much apreciated! Thanks in advance!
Cheers,
Sasa
SampleVectorFromVolume_in_shader.hip