Hey to all,
Long-shot here, since many of peeps don't use ShaderFX, but I was hoping someone had advice.
I'm trying to setup a CustomCode, in which I can Mip my textures, here is an image of what I mean, something like this:
Problem is, I cannot for the life of me figure out what kind of code input I'm supposed to use where, anyone has any advice?
This is the code I'm using in PixelShader btw:
(return tex2Dlod(sampler, float4(UV, MipLevels));)
Cheers in advance!
Replies
By looking at the code you are posting, input 1 would be "sampler", input 2 would be "UV" (vector 3), and input 3 would be "MipLevels" (float).
Cheers, I will try that for sure!