Fixed: If Instancing is activated you only see shadows

When the pbr material was introduced someone forgot to keep the instancing in mind which uses :
            ViewProjectionMatrix
            ViewMatrix
I added these.
This commit is contained in:
b00nation 2017-08-19 23:34:44 +02:00 committed by Rémy Bouquet
parent 6dddb6d418
commit 06b23ec6ca

View File

@ -118,6 +118,8 @@ MaterialDef PBR Lighting {
WorldViewProjectionMatrix
CameraPosition
WorldMatrix
ViewProjectionMatrix
ViewMatrix
}
Defines {