Showing the changes to libraries/render-utils/src/RenderForwardTask.cpp (1 of 25 files). Show all
Unified · Split
| @@ -189,7 +189,7 @@ void PrepareForward::run(const RenderContextPointer& renderContext, const Inputs · 188 unmodified lines | ||
| 189 | 189 | batch.setUniformBuffer(render::ShapePipeline::Slot::LIGHT_AMBIENT_BUFFER, keyAmbiLight->getAmbientSchemaBuffer()); |
| 190 | 190 | |
| 191 | 191 | if (keyAmbiLight->getAmbientMap()) { |
| 192 | − batch.setResourceTexture(render::ShapePipeline::Slot::LIGHT_AMBIENT, keyAmbiLight->getAmbientMap()); | |
| 192 | + batch.setResourceTexture(render::ShapePipeline::Slot::LIGHT_AMBIENT_MAP, keyAmbiLight->getAmbientMap()); | |
| 193 | 193 | } |
| 194 | 194 | } |
| 195 | 195 | }); |