Browse Source

WebGLRenderer: Renamed refreshUniformsStandard to refreshUniformsPhysical.

Mr.doob 9 years ago
parent
commit
b489348d30
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/renderers/WebGLRenderer.js

+ 2 - 2
src/renderers/WebGLRenderer.js

@@ -1754,7 +1754,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 
 			} else if ( material instanceof THREE.MeshPhysicalMaterial ) {
 			} else if ( material instanceof THREE.MeshPhysicalMaterial ) {
 
 
-				refreshUniformsStandard( m_uniforms, material );
+				refreshUniformsPhysical( m_uniforms, material );
 
 
 			} else if ( material instanceof THREE.MeshDepthMaterial ) {
 			} else if ( material instanceof THREE.MeshDepthMaterial ) {
 
 
@@ -1973,7 +1973,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 
 	}
 	}
 
 
-	function refreshUniformsStandard ( uniforms, material ) {
+	function refreshUniformsPhysical ( uniforms, material ) {
 
 
 		uniforms.roughness.value = material.roughness;
 		uniforms.roughness.value = material.roughness;
 		//uniforms.reflectivity.value = material.reflectivity; // part of uniforms common
 		//uniforms.reflectivity.value = material.reflectivity; // part of uniforms common