diff options
Diffstat (limited to 'src/render/materialsystem/prototypes/default.json')
-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 7f196c8df..63c39164c 100644 --- a/src/render/materialsystem/prototypes/default.json +++ b/src/render/materialsystem/prototypes/default.json @@ -463,6 +463,15 @@ "rules": [ { "format": { + "api": "OpenGLES", + "major": 3, + "minor": 0 + }, + "substitution": "highp vec4 $outputColor = metalRoughFunction($baseColor, $metalness, $roughness, $ambientOcclusion, $worldPosition, $worldView, $worldNormal);", + "headerSnippets": [ "#pragma include :/shaders/es3/metalrough.inc.frag" ] + }, + { + "format": { "api": "OpenGLCoreProfile", "major": 3, "minor": 1 |