mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-21 19:05:57 +10:00
Renamed MeshShaderMaterial => ShaderMaterial
This commit is contained in:
@@ -11,7 +11,7 @@ THREE.TexturePass = function( texture, opacity ) {
|
||||
this.uniforms[ "opacity" ].value = ( opacity !== undefined ) ? opacity : 1.0;
|
||||
this.uniforms[ "tDiffuse" ].texture = texture;
|
||||
|
||||
this.material = new THREE.MeshShaderMaterial( {
|
||||
this.material = new THREE.ShaderMaterial( {
|
||||
|
||||
uniforms: this.uniforms,
|
||||
vertexShader: shader.vertexShader,
|
||||
|
||||
Reference in New Issue
Block a user