Home Technical Talk

ShaderFX - Custom Code for Sampler and Mip Control?

polycounter lvl 12
Offline / Send Message
Ace-Angel polycounter lvl 12
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:qhF7XWp.jpg

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

Sign In or Register to comment.