Sample a RenderTexture in Shader Graph?

Hello everyone, is it possible to use any node similar to “Sample Texture 2D” that will sample a RenderTexture?

I am trying to write a compute shader that outputs into a texture, which is then sampled in a Shader Graph and used later on.

If there is any other way, like sending a texture reference to the CS and directly editing the texture, I am open to hearing options. Thanks!

If you have a texture on the CPU side, you can just use SetTexture, right?
Via compute shaders maybe (not sure) you could even link them directly without setting it via the CPU each frame

Hello, turns out you can use the Sample Texture 2D node, as for normal textures!

1 Like