62 Qt3DRender::QCamera *mMainCamera =
nullptr;
64 Qt3DRender::QParameter *mColorTextureParameter =
nullptr;
65 Qt3DRender::QParameter *mDepthTextureParameter =
nullptr;
66 Qt3DRender::QParameter *mShadowMapParameter =
nullptr;
67 Qt3DRender::QParameter *mAmbientOcclusionTextureParameter =
nullptr;
68 Qt3DRender::QParameter *mFarPlaneParameter =
nullptr;
69 Qt3DRender::QParameter *mNearPlaneParameter =
nullptr;
70 Qt3DRender::QParameter *mMainCameraInvViewMatrixParameter =
nullptr;
71 Qt3DRender::QParameter *mMainCameraInvProjMatrixParameter =
nullptr;
73 Qt3DRender::QCamera *mLightCamera =
nullptr;
74 Qt3DRender::QParameter *mLightFarPlaneParameter =
nullptr;
75 Qt3DRender::QParameter *mLightNearPlaneParameter =
nullptr;
77 Qt3DRender::QParameter *mLightPosition =
nullptr;
78 Qt3DRender::QParameter *mLightDirection =
nullptr;
80 Qt3DRender::QParameter *mShadowMinX =
nullptr;
81 Qt3DRender::QParameter *mShadowMaxX =
nullptr;
82 Qt3DRender::QParameter *mShadowMinY =
nullptr;
83 Qt3DRender::QParameter *mShadowMaxY =
nullptr;
85 Qt3DRender::QParameter *mRenderShadowsParameter =
nullptr;
86 Qt3DRender::QParameter *mShadowBiasParameter =
nullptr;
87 Qt3DRender::QParameter *mEyeDomeLightingEnabledParameter =
nullptr;
88 Qt3DRender::QParameter *mEyeDomeLightingStrengthParameter =
nullptr;
89 Qt3DRender::QParameter *mEyeDomeLightingDistanceParameter =
nullptr;
91 Qt3DRender::QParameter *mAmbientOcclusionEnabledParameter =
nullptr;
void setupShadowRenderingExtent(float minX, float maxX, float minY, float maxY)
Sets the parts of the scene where objects cast shadows.
void setAmbientOcclusionEnabled(bool enabled)
Sets whether screen space ambient occlusion is enabled.
void setShadowRenderingEnabled(bool enabled)
Sets whether shadow rendering is enabled.
void setEyeDomeLightingDistance(int distance)
Sets the eye dome lighting distance (contributes to the contrast of the image)
void setShadowBias(float shadowBias)
Sets the shadow bias value.
void setEyeDomeLightingStrength(double strength)
Sets the eye dome lighting strength.
void setupDirectionalLight(QVector3D position, QVector3D direction)
Sets up a directional light that is used to render shadows.
void setEyeDomeLightingEnabled(bool enabled)
Sets whether eye dome lighting is enabled.