How to use the NodePass function from three

Find comprehensive JavaScript three.NodePass code examples handpicked from public code repositorys.

79
80
81
82
83
84
85
86
87
var saturation = new THREE.FloatNode(1.0);
var satNode = new THREE.ColorAdjustmentNode(screen, saturation, THREE.ColorAdjustmentNode.SATURATION);
var contrast = new THREE.FloatNode(1.0);
var contrastNode = new THREE.ColorAdjustmentNode(satNode, contrast, THREE.ColorAdjustmentNode.CONTRAST);

var nodepass = new THREE.NodePass();
nodepass.value = contrastNode;
nodepass.build();
composer.addPass(nodepass);
fork icon2
star icon28
watch icon3

+ 9 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)