16#ifndef QGSAMBIENTOCCLUSIONRENDERENTITY_H
17#define QGSAMBIENTOCCLUSIONRENDERENTITY_H
49 Qt3DRender::QParameter *mDepthTextureParameter =
nullptr;
50 Qt3DRender::QParameter *mAmbientOcclusionKernelParameter =
nullptr;
53 Qt3DRender::QParameter *mIntensityParameter =
nullptr;
54 Qt3DRender::QParameter *mRadiusParameter =
nullptr;
55 Qt3DRender::QParameter *mThresholdParameter =
nullptr;
58 Qt3DRender::QParameter *mFarPlaneParameter =
nullptr;
59 Qt3DRender::QParameter *mNearPlaneParameter =
nullptr;
60 Qt3DRender::QParameter *mProjMatrixParameter =
nullptr;
61 Qt3DRender::QParameter *mAspectRatioParameter =
nullptr;
62 Qt3DRender::QParameter *mTanHalfFovParameter =
nullptr;
void setThreshold(float threshold)
Sets the amount of occlusion when the effects starts to kick in.
QgsAmbientOcclusionRenderEntity(Qt3DRender::QTexture2D *depthTexture, Qt3DRender::QCamera *camera, QNode *parent=nullptr)
Constructor.
void setRadius(float radius)
Sets the radius for the ambient occlusion effect.
void setIntensity(float intensity)
Sets the intensity for the ambient occlusion effect.