Minor changes to comment.

This commit is contained in:
dmcdiar
2021-04-21 00:29:32 -07:00
parent a7b3372c15
commit 52e6a146eb
@@ -24,8 +24,9 @@ namespace AZ
// UseIBLSpecularPass
//
// The MeshFeatureProcessor sets this stencil bit on any geometry that should receive IBL Specular in the Reflections pass,
// otherwise IBL specular is rendered in the Forward pass. The Reflections pass only renders to areas with these stencil bits set.
// The MeshFeatureProcessor sets the UseIBLSpecularPass stencil value on any geometry that should receive IBL Specular
// in the Reflections pass, otherwise IBL specular is rendered in the Forward pass. The Reflections pass only renders
// to areas with these stencil bits set.
//
// Used in pass range: Forward -> Reflections
//
@@ -34,10 +35,10 @@ namespace AZ
// properly handle the DecrSat on the FrontFace stencil operation depth-fail.
// - The ReflectionProbeStencilPass pass may overwrite other bits in the stencil buffer, depending on the amount of
// reflection probe volume nesting in the content.
// - New stencil bits for other purposes should be added to the most signficant bits and masked out of the Reflection passes. This is
// necessary to allow the most amount of bits to be used by the ReflectionProbeStencilPass for nested probe volumes.
// - The Reflection passes currently use 0x7F for the ReadMask and WriteMask to exclude the UseDiffuseGIPass stencil bit (see below). If
// other stencil bits are added then these masks will need to be updated.
// - New stencil bits for other purposes should be added to the most signficant bits and masked out of the Reflection passes.
// This is necessary to allow the most amount of bits to be used by the ReflectionProbeStencilPass for nested probe volumes.
// - The Reflection passes currently use 0x7F for the ReadMask and WriteMask to exclude the UseDiffuseGIPass stencil bit (see below).
// If other stencil bits are added then these masks will need to be updated.
const uint32_t UseIBLSpecularPass = 0x3;
// UseDiffuseGIPass