|
@@ -2463,8 +2463,6 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
this.renderBufferDirect = function ( camera, lights, fog, material, geometry, object ) {
|
|
|
|
|
|
- if ( material.visible === false ) return;
|
|
|
-
|
|
|
var linewidth, a, attribute;
|
|
|
var attributeItem, attributeName, attributePointer, attributeSize;
|
|
|
|
|
@@ -2700,8 +2698,6 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
this.renderBuffer = function ( camera, lights, fog, material, geometryGroup, object ) {
|
|
|
|
|
|
- if ( material.visible === false ) return;
|
|
|
-
|
|
|
var linewidth, a, attribute, i, il;
|
|
|
|
|
|
var program = setProgram( camera, lights, fog, material, object );
|