summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-05-31 20:29:36 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-05-31 20:29:56 -0300
commitbd26fa7bf2bf02f9ef17ad4ef3a93ffed3ffcf56 (patch)
treededcb989f558d023efe6065fe5287b5688e63d36 /drivers
parenta134f58fb3e072a3453bd5e9286f90b4694c9766 (diff)
stuff got modified :(
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles3/shaders/scene.glsl5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl
index 4fc33acf7c..81166e84ff 100644
--- a/drivers/gles3/shaders/scene.glsl
+++ b/drivers/gles3/shaders/scene.glsl
@@ -1088,7 +1088,7 @@ void gi_probe_compute(sampler3D probe, mat4 probe_xform, vec3 bounds,vec3 cell_s
}
-void gi_probes_compute(vec3 pos, vec3 normal, float roughness, vec3 specular, inout vec3 out_specular, inout vec3 out_ambient) {
+void gi_probes_compute(vec3 pos, vec3 normal, float roughness, inout vec3 out_specular, inout vec3 out_ambient) {
roughness = roughness * roughness;
@@ -1469,7 +1469,8 @@ FRAGMENT_SHADER_CODE
#endif //#USE_LIGHT_DIRECTIONAL
#ifdef USE_GI_PROBES
- gi_probes_compute(vertex,normal,roughness,specular,specular_light,ambient_light);
+ gi_probes_compute(vertex,normal,roughness,specular_light,ambient_light);
+
#endif