提交 f4c54b20 编写于 作者: M Mr.doob

Updated builds.

上级 ef7ead99
......@@ -14127,8 +14127,6 @@ THREE.SpriteMaterial = function ( parameters ) {
this.color = new THREE.Color( 0xffffff );
this.map = null;
this.depthTest = true;
this.sizeAttenuation = true;
this.rotation = 0;
this.fog = false;
......@@ -36220,7 +36218,6 @@ THREE.SpritePlugin = function () {
rotation: _gl.getUniformLocation( program, 'rotation' ),
scale: _gl.getUniformLocation( program, 'scale' ),
halfViewport: _gl.getUniformLocation( program, 'halfViewport' ),
color: _gl.getUniformLocation( program, 'color' ),
map: _gl.getUniformLocation( program, 'map' ),
......@@ -36258,9 +36255,6 @@ THREE.SpritePlugin = function () {
if ( ! nSprites ) return;
var halfViewportWidth = viewportWidth * 0.5,
halfViewportHeight = viewportHeight * 0.5;
// setup gl
_gl.useProgram( program );
......@@ -36377,7 +36371,6 @@ THREE.SpritePlugin = function () {
_gl.uniform1f( uniforms.rotation, material.rotation );
_gl.uniform2fv( uniforms.scale, scale );
_gl.uniform2f( uniforms.halfViewport, halfViewportWidth, halfViewportHeight );
_renderer.setBlending( material.blending, material.blendEquation, material.blendSrc, material.blendDst );
_renderer.setDepthTest( material.depthTest );
......@@ -36420,7 +36413,6 @@ THREE.SpritePlugin = function () {
'uniform vec2 scale;',
'uniform vec2 uvOffset;',
'uniform vec2 uvScale;',
'uniform vec2 halfViewport;',
'attribute vec2 position;',
'attribute vec2 uv;',
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册