Create an OceanSampler bound to an OceanMaterial. The sampler reads the material's wave uniforms by reference, so it reflects sea-state and time changes without any extra wiring.
Create an OceanSampler bound to an OceanMaterial. The sampler reads the material's wave uniforms by reference, so it reflects sea-state and time changes without any extra wiring.