Showing the changes to libraries/render-utils/src/RenderForwardTask.cpp (1 of 13 files). Show all
Unified · Split
| @@ -251,6 +251,7 @@ void DrawForward::run(const RenderContextPointer& renderContext, const Inputs& i · 250 unmodified lines | ||
| 251 | 251 | |
| 252 | 252 | // Setup lighting model for all items; |
| 253 | 253 | batch.setUniformBuffer(ru::Buffer::LightModel, lightingModel->getParametersBuffer()); |
| 254 | + batch.setResourceTexture(ru::Texture::AmbientFresnel, lightingModel->getAmbientFresnelLUT()); | |
| 254 | 255 | |
| 255 | 256 | // From the lighting model define a global shapeKey ORED with individiual keys |
| 256 | 257 | ShapeKey::Builder keyBuilder; |