diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2017-01-31 16:37:26 +0100 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@kdab.com> | 2017-01-31 16:18:22 +0000 |
commit | 708720b8a1056aec2c62a3a2467a324d62a25ee1 (patch) | |
tree | 241b890131c1cd7c6ef6c0eae2ed773a03d7166e /src/extras/defaults/qmetalroughmaterial.h | |
parent | 1b538c2311d43830d8a43cfa244c35e6fe77c0e7 (diff) |
Remove exposure property from metal/rough materials
This is now controlled on the camera lens as it should be. No need to
have that per material instance anymore.
Change-Id: I2e46a38f2cc2f2e2d670ed73a2be6d98464b21b1
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/extras/defaults/qmetalroughmaterial.h')
-rw-r--r-- | src/extras/defaults/qmetalroughmaterial.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/extras/defaults/qmetalroughmaterial.h b/src/extras/defaults/qmetalroughmaterial.h index 914cef6ca..a7fbfba59 100644 --- a/src/extras/defaults/qmetalroughmaterial.h +++ b/src/extras/defaults/qmetalroughmaterial.h @@ -62,7 +62,6 @@ class QT3DEXTRASSHARED_EXPORT QMetalRoughMaterial : public Qt3DRender::QMaterial Q_PROPERTY(float roughness READ roughness WRITE setRoughness NOTIFY roughnessChanged) Q_PROPERTY(Qt3DRender::QAbstractTexture *environmentIrradiance READ environmentIrradiance WRITE setEnvironmentIrradiance NOTIFY environmentIrradianceChanged) Q_PROPERTY(Qt3DRender::QAbstractTexture *environmentSpecular READ environmentSpecular WRITE setEnvironmentSpecular NOTIFY environmentSpecularChanged) - Q_PROPERTY(float exposure READ exposure WRITE setExposure NOTIFY exposureChanged) public: explicit QMetalRoughMaterial(Qt3DCore::QNode *parent = nullptr); @@ -73,7 +72,6 @@ public: float roughness() const; Qt3DRender::QAbstractTexture *environmentIrradiance() const; Qt3DRender::QAbstractTexture *environmentSpecular() const; - float exposure() const; public Q_SLOTS: void setBaseColor(const QColor &baseColor); @@ -81,7 +79,6 @@ public Q_SLOTS: void setRoughness(float roughness); void setEnvironmentIrradiance(Qt3DRender::QAbstractTexture *environmentIrradiance); void setEnvironmentSpecular(Qt3DRender::QAbstractTexture *environmentSpecular); - void setExposure(float exposure); Q_SIGNALS: void baseColorChanged(const QColor &baseColor); @@ -89,7 +86,6 @@ Q_SIGNALS: void roughnessChanged(float roughness); void environmentIrradianceChanged(Qt3DRender::QAbstractTexture *environmentIrradiance); void environmentSpecularChanged(Qt3DRender::QAbstractTexture *environmentSpecular); - void exposureChanged(float exposure); protected: QMetalRoughMaterial(QMetalRoughMaterialPrivate &dd, Qt3DCore::QNode *parent = nullptr); |