$desaturatewithbasealpha
Jump to navigation
Jump to search
Template:Shaderparam
Setting it to a value above 0
will enable the behavior.
If used, the $basetexture's Alpha channel will be used as a mask to de-saturate the $basetexture's Color.
The amount of desaturation is determined through the same parameter. 1.0
will result in 100%, and 0.5
in 50% desaturation.




Caveats

- Does not work with $seamless_base(this works in
this works)
- Does not work with $detail(this works in
this works)
- Does not work with $bumpmap or any parameters that requires a $bumpmap. Including $lightwarptexture.(this works in
these work. Except $phong)
- Does not work with $selfillum and thus $selfillummask.(this works in
this works)
- Does not work with $selfillum_envmapmask_alpha(this works in
this works)
- Does not work with $basealphaenvmapmask(this works in
this works)