Hello,
tldr;
How to implement a way of looking at a specific texture coordinate and return the value from the texture in the shader?
I’m working on an maratime simulator and we are implementing luminous light distance.
We have a texture that is populated with the correct data and I want to input x and y coordinates and receive the correct value out. This should be run on the GPU.
I know Unreal has it’s own look up tables for color grading. Is this working similarly?
Just to show you what i mean:
We implemented a similar script for GIMP to be able to fetch the data

EDIT:
Maybe this simple approach should be enough? Will this work as an 2d array with x and y indices, returning the correct x,y value?