Wrong UV coordinates in Custom node

SUMFX
Mon, 12 Mar 2018 21:30:11 +0000
Rendering

Hi,

I’ve taken screens below in UE4.19P6 but its the same as in 4.18 also.

The problem is using this code in Custom node in the material editor

return  SceneTextureLookup(UV.xy,14,true);

doesn’t give the same result as using the SceneTexture:PostProcessInput0 node.

Repro steps:

1- Create a new material

2- Change its domain to Post Processing

3- Create a new “Custom” node

4- Insert this line to it: return SceneTextureLookup(UV.xy,14,true);

5- Create a new Input for Custom node with a name “UV” and feed it with “Texture Coordinates” node

6- Create a new Input for Custom node with a name “SceneTexture” and feed it with “SceneTexture (PostProcessInput0)” node

7- Connect the Custom node’s output to Materials Emissive slot

Check attached images, please.

Best.

16 posts - 12 participants