I am trying to Sample a Texture via HLSL, but it tells me that Sample() is not a valid Function in SM6_6…
How am i supposed to sample a Texture via HLSL?
How am i supposed to sample a Texture via HLSL?
You can view the HLSL of any shader using the menu at the top. Plug in a texture sample to something, open the code, read how it’s generated there, and copy it into your custom node.