MCPcopy Create free account
hub / github.com/cemyuksel/cyCodeBase / FixTextureAlpha

Method FixTextureAlpha

cyAlphaDistribution.h:157–170  ·  view source on GitHub ↗

Fixes the alpha values of all mipmap levels of an OpenGL texture, starting with the given level. If the texture does not contain semi-transparent regions, modifying the first level (level zero) is not advisable, since the original values might work better with magnification filtering. If the image will be used with alpha-to-coverage, the spp parameter should indicate the number of alpha samples; o

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected