How do I apply a shader to a specific UI area?

Hi, I have a UI element thats a screen. I would like to add a UI shader graph to only everything in the screen area but I am unsure how to do this? Any ideas?

I don’t have too much experience with shader graph, but if these shaders can just be selected for a material as any other shader, you’d just use a RawImage and apply that material to it. and the texture itself is your data.

depends on how do you want to display that data. another more involved approach is (if you want to literally render Unity’s own UI, i.e. buttons/texts/panels etc. using a custom overall effect):

  • look into render textures
  • you’d set up a separate camera that’d render a part of your UI to that render texture (set the texture as the target of in your camera’s inspector)
  • then use a RawImage to show that render texture