Issue
Image : https://pasteboard.co/tfTL27yXuGfv.png
If SceneTextureLookup is used in a custom node with exact UVs as SceneTexture node. SceneTextureLookup samples the screen with a different UVs than SceneTextureNode.
It seems that the amount by which uv is scaled depends upon the ratio between screen size and viewport size.
- It only happens in editor if the viewport is not fullscreen.
- It give CORRECT results if viewport is fullscreen, or playing in standalone mode.
- tested in 4.27 as well as 5.2.1, happens in both.
Exacts steps to replicate.
- Create a material, set Domain to postProcess.
- Add custom node with following code
return SceneTextureLookup(UV, 14, false);
- Add 2 inputs in custom node for Color, and UV.
- Add SceneTexture node with SceneTextureId=PostProcessInput0, Connect it to Color.
- Add TexCoord[0] node , Connect it to UV.