Relative Content

Tag Archive for unity-game-engineshadershader-graph

Difference between world-normal calculated by sampling view-normal texture and view-normal texture

I have a custom renderer feature that create normal texture and using that.
Normal texture can be view or world space.
If I create view space normal texture and sample with the uv node of the full screen shader graph,
then transform that normal to world space(by unity_CameraToWorld), and compare that with world space normal texture, but they are different(The opposite is also different).