Skip to content

Commit

Permalink
fixup! feat(3d/shadow): move shadow setting updates from qgs3dmapscen…
Browse files Browse the repository at this point in the history
…e into render view
  • Loading branch information
benoitdm-oslandia committed Sep 3, 2024
1 parent 375d6c0 commit e5eff9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/3d/framegraph/qgsshadowrenderview.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,13 @@ class QgsShadowRenderView : public QgsAbstractRenderView
const QList<QgsLightSource *> &lightSources,
Qt3DRender::QCamera *mainCamera );
signals:

//! Emits updated light data when setupDirectionalLight is called
void shadowDirectionLightUpdated( const QVector3D &lightPosition, const QVector3D &lightDirection );
//! Emits updated extent data when setupDirectionalLight is called
void shadowExtentChanged( float minX, float maxX, float minY, float maxY, float minZ, float maxZ );
//! Emits new bias when shadow settings are updated
void shadowBiasChanged( float bias );
//! Emits if shadows are enabled when shadow settings are updated
void shadowRenderingEnabled( bool isEnabled );

private:
Expand Down

0 comments on commit e5eff9d

Please sign in to comment.