瀏覽代碼

Fix to make voxel cone tracing work properly again

Juan Linietsky 8 年之前
父節點
當前提交
5dd7c3b6ab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gles3/shaders/scene.glsl

+ 1 - 1
drivers/gles3/shaders/scene.glsl

@@ -1655,7 +1655,7 @@ FRAGMENT_SHADER_CODE
 #endif //#USE_LIGHT_DIRECTIONAL
 
 #ifdef USE_GI_PROBES
-	gi_probes_compute(vertex,normal,roughness,specular_light,ambient_light);
+	gi_probes_compute(vertex,normal,roughness,env_reflection_light,ambient_light);
 
 #endif