diff options
author | Michael Brasser <mbrasser@ford.com> | 2018-12-04 15:52:07 -0600 |
---|---|---|
committer | Michael Brasser <michael.brasser@live.com> | 2018-12-05 14:29:05 +0000 |
commit | aac6ffa0310cd32d66623658b1a6ee33f51aba88 (patch) | |
tree | ab25290ae6eb4eadf50bd3c17696b34543116096 /src/render/materialsystem | |
parent | fb497128383a9a03326996c6009383e73519c8be (diff) |
Use the correct coordinatesystem include for ES3
Change-Id: Ibb45e3daf0712d87ebfdab5376d60db93abe006e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/materialsystem')
-rw-r--r-- | src/render/materialsystem/prototypes/default.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/materialsystem/prototypes/default.json b/src/render/materialsystem/prototypes/default.json index 63c39164c..597de41c3 100644 --- a/src/render/materialsystem/prototypes/default.json +++ b/src/render/materialsystem/prototypes/default.json @@ -404,6 +404,15 @@ }, { "format": { + "api": "OpenGLES", + "major": 3, + "minor": 0 + }, + "substitution": "highp mat3 $matrix = calcWorldSpaceToTangentSpaceMatrix($worldNormal, $worldTangent);", + "headerSnippets": [ "#pragma include :/shaders/es3/coordinatesystems.inc" ] + }, + { + "format": { "api": "OpenGLCoreProfile", "major": 3, "minor": 0 |