Showing the changes to libraries/script-engine/src/SceneScriptingInterface.cpp (1 of 14 files). Show all
Unified · Split
| @@ -81,6 +81,11 @@ void SceneScripting::KeyLight::setAmbientSphere(const gpu::SHPointer& sphere) { · 80 unmodified lines | ||
| 81 | 81 | _skyStage->setSunAmbientSphere(sphere); |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | +void SceneScripting::KeyLight::setAmbientMap(const gpu::TexturePointer& map) { | |
| 85 | + _skyStage->setSunAmbientMap(map); | |
| 86 | +} | |
| 87 | + | |
| 88 | + | |
| 84 | 89 | glm::vec3 SceneScripting::KeyLight::getDirection() const { |
| 85 | 90 | return _skyStage->getSunDirection(); |
| 86 | 91 | } |