Lines Matching refs:lightingLookupTable

117     ResLightingLookupTable lightingLookupTable;  in ActivateFragmentLightingTable()  local
122 lightingLookupTable = fragmentLightingTable.GetReflectanceRSampler(); in ActivateFragmentLightingTable()
123 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
125 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
127 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
130 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_RR, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
131 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_RR, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
138 lightingLookupTable = fragmentLightingTable.GetReflectanceGSampler(); in ActivateFragmentLightingTable()
139 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
141 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
143 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
146 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_RG, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
147 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_RG, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
154 lightingLookupTable = fragmentLightingTable.GetReflectanceBSampler(); in ActivateFragmentLightingTable()
155 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
157 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
159 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
162 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_RB, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
163 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_RB, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
170 lightingLookupTable = fragmentLightingTable.GetDistribution0Sampler(); in ActivateFragmentLightingTable()
171 if (lightingLookupTable.IsValid() && isDistribution0Enbaled) in ActivateFragmentLightingTable()
173 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
175 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
178 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_D0, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
179 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_D0, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
186 lightingLookupTable = fragmentLightingTable.GetDistribution1Sampler(); in ActivateFragmentLightingTable()
187 if (lightingLookupTable.IsValid() && isDistribution1Enbaled) in ActivateFragmentLightingTable()
189 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
191 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
194 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_D1, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
195 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_D1, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
202 lightingLookupTable = fragmentLightingTable.GetFresnelSampler(); in ActivateFragmentLightingTable()
203 if (lightingLookupTable.IsValid() && isFresnelEnabled) in ActivateFragmentLightingTable()
205 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
207 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
210 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_FR, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
211 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_FR, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()