Colortex Mipmaps
const bool <bufferName>MipmapEnabled = true;
Location: composite.fsh
, deferred.fsh
, final.fsh
, prepare.fsh
This directive tells Iris to generate a mipmap chain for a colortex attachment. The mipmap chain will be generated directly before the program where the directive is included, if there are multiple programs it will be re-generated before each program containing the directive. This directive is only valid for the fragment stage of begin
, prepare
, deferred
, or composite
programs.
Replace <bufferName>
with the name of a colortex sampler (e.g. colortex2
).