When I create a new Shader(Filter), the input texture texture is called “tex0col”. I had a look into the Edge shader, which also inherits from : FilterBase, but there the texture is called “Texture0”. Is there a naming convention behind these names?
“Texture0TexelSize”… is this similar to beta’s “invtargetsize”, and can I put this postfix behind any texture resource to access its dimensions? (MyTextureTexelSize.xy?)
What exactly does “WantsMips” do? (Because the shader also works of I do not generate mips for my texture?
“Texture0TexelSize”… is this similar to beta’s “invtargetsize”, and can I put this postfix behind any texture resource to access its dimensions? (MyTextureTexelSize.xy?)
yes, you can use it anywhere if it is inheriting from Texturing