summaryrefslogtreecommitdiffstats
path: root/o3d/samples
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples')
-rw-r--r--o3d/samples/o3djs/rendergraph.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/o3d/samples/o3djs/rendergraph.js b/o3d/samples/o3djs/rendergraph.js
index 72a1c7c..cea0074 100644
--- a/o3d/samples/o3djs/rendergraph.js
+++ b/o3d/samples/o3djs/rendergraph.js
@@ -282,7 +282,6 @@ o3djs.rendergraph.ViewInfo = function(pack,
opt_performanceDrawList);
var performanceState = performanceDrawPassInfo.state;
- performanceState.getStateParam('ColorWriteEnable').value = 7;
// Setup a z Ordered DrawPass
var zOrderedDrawPassInfo = createDrawPass(
@@ -291,7 +290,6 @@ o3djs.rendergraph.ViewInfo = function(pack,
var zOrderedState = zOrderedDrawPassInfo.state;
- zOrderedState.getStateParam('ColorWriteEnable').value = 7;
zOrderedState.getStateParam('AlphaBlendEnable').value = true;
zOrderedState.getStateParam('SourceBlendFunction').value =
o3djs.base.o3d.State.BLENDFUNC_SOURCE_ALPHA;
@@ -300,7 +298,6 @@ o3djs.rendergraph.ViewInfo = function(pack,
zOrderedState.getStateParam('AlphaTestEnable').value = true;
zOrderedState.getStateParam('AlphaComparisonFunction').value =
o3djs.base.o3d.State.CMP_GREATER;
- zOrderedState.getStateParam('ColorWriteEnable').value = 7;
// Parent whatever the root is to the parent passed in.
if (opt_parent) {