summaryrefslogtreecommitdiffstats
path: root/src/render/defaults/qpervertexcolormaterial_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-12-01 13:34:41 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-12-02 10:40:16 +0000
commitff67c813fcd377d704bcb9d37b03546797be6193 (patch)
tree183751b99ebcc90cf680d19cef55b9b63dac2b88 /src/render/defaults/qpervertexcolormaterial_p.h
parente81795101cad74a70599915028045b11f2763e3a (diff)
Migrate PerVertexMaterial to be light-aware
The original version has no specular component so leave that out in this version as well. To make this simple, introduce adModel(). Change-Id: I474485a19163ec55e6f6e025d94d8172297e847c Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Diffstat (limited to 'src/render/defaults/qpervertexcolormaterial_p.h')
-rw-r--r--src/render/defaults/qpervertexcolormaterial_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/defaults/qpervertexcolormaterial_p.h b/src/render/defaults/qpervertexcolormaterial_p.h
index 5b6079b0f..9e8298667 100644
--- a/src/render/defaults/qpervertexcolormaterial_p.h
+++ b/src/render/defaults/qpervertexcolormaterial_p.h
@@ -71,8 +71,6 @@ public:
void init();
QEffect *m_vertexEffect;
- QParameter *m_lightPositionParameter;
- QParameter *m_lightIntensityParameter;
QTechnique *m_vertexGL3Technique;
QTechnique *m_vertexGL2Technique;
QTechnique *m_vertexES2Technique;