public: // Overrides LightObserver Methods.
/**
+ * @copydoc Dali::Scene3D::Internal::LightObserver::NotifyShadowMapTexture()
+ */
+ void NotifyShadowMapTexture(Dali::Texture shadowMapTexture) override;
+
+ /**
* @copydoc Dali::Scene3D::Internal::LightObserver::NotifyImageBasedLightTexture()
*/
void NotifyImageBasedLightTexture(Dali::Texture diffuseTexture, Dali::Texture specularTexture, float scaleFactor, uint32_t specularMipmapLevels) override;
*/
void NotifyImageBasedLightScaleFactor(float scaleFactor) override;
- /**
- * @copydoc Dali::Scene3D::Internal::LightObserver::NotifyLightAdded()
- */
- void NotifyLightAdded(uint32_t lightIndex, Scene3D::Light light) override;
-
- /**
- * @copydoc Dali::Scene3D::Internal::LightObserver::NotifyLightRemoved()
- */
- void NotifyLightRemoved(uint32_t lightIndex) override;
-
private:
/**
* @brief Asynchronously model loading finished.
WeakHandle<Scene3D::SceneView> mParentSceneView;
Dali::PropertyNotification mSizeNotification;
- // Light
- std::vector<Scene3D::Light> mLights;
+ Dali::Scene3D::Loader::ShaderManagerPtr mShaderManager;
// List of ModelNode for name of blend shape.
BlendShapeModelNodeMap mBlendShapeModelNodeMap;
EnvironmentMapLoadTaskPtr mIblDiffuseLoadTask;
EnvironmentMapLoadTaskPtr mIblSpecularLoadTask;
+ // Shadow
+ Dali::Texture mShadowMapTexture;
+
std::string mDiffuseIblUrl;
std::string mSpecularIblUrl;