Hello everyone.
I have some issue compiling for Android.
I’m using custom hlsl node in post process material to sample scene textures for edge detection and other stuff.
On Windows it uses SceneTextureLookup(…), but while building for Andorid i errors and wants MobileSceneTextureLookup(…).
Now if I change this it throws an error in the editor and fails to compile the material (as expected). Any ideas how to fix that? Is there some setting I need to set, or somehow adding a switch in the material, which will use the correct call depending on the build target?
The project is created for mobile, uses forward shading and builds for Android ATSC.
Happy holidays