Lines Matching refs:lightingLookupTable

115     ResLightingLookupTable lightingLookupTable;  in ActivateFragmentLightingTable()  local
120 lightingLookupTable = fragmentLightingTable.GetReflectanceRSampler(); in ActivateFragmentLightingTable()
121 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
123 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
125 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
128 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_RR, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
129 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_RR, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
136 lightingLookupTable = fragmentLightingTable.GetReflectanceGSampler(); in ActivateFragmentLightingTable()
137 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
139 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
141 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
144 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_RG, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
145 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_RG, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
152 lightingLookupTable = fragmentLightingTable.GetReflectanceBSampler(); in ActivateFragmentLightingTable()
153 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
155 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
157 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
160 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_RB, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
161 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_RB, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
168 lightingLookupTable = fragmentLightingTable.GetDistribution0Sampler(); in ActivateFragmentLightingTable()
169 if (lightingLookupTable.IsValid() && isDistribution0Enbaled) in ActivateFragmentLightingTable()
171 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
173 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
176 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_D0, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
177 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_D0, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
184 lightingLookupTable = fragmentLightingTable.GetDistribution1Sampler(); in ActivateFragmentLightingTable()
185 if (lightingLookupTable.IsValid() && isDistribution1Enbaled) in ActivateFragmentLightingTable()
187 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
189 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
192 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_D1, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
193 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_D1, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
200 lightingLookupTable = fragmentLightingTable.GetFresnelSampler(); in ActivateFragmentLightingTable()
201 if (lightingLookupTable.IsValid() && isFresnelEnabled) in ActivateFragmentLightingTable()
203 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
205 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
208 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_FR, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
209 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_FR, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()