Enum TextureCompareMode
Depth textures can be sampled in one of two ways. They can be sampled as a normal texture, which simply retrieves the depth value, this will return a vec4 containing a single floating-point value, or they can be fetched in comparison mode. The result of the comparison depends on the comparison function set in the texture. If the function succeeds, the resulting value is 1.0f; if it fails, it is 0.0f. see: https://www.khronos.org/opengl/wiki/Sampler_Object
Namespace: Fusee.Engine.Common
Assembly: Fusee.Engine.Common.dll
Syntax
public enum TextureCompareMode
Fields
Name | Description |
---|---|
CompareRefToTexture | Enables the compare mode. |
None | Disables the compare mode. |