How to use the FloatNode function from three
Find comprehensive JavaScript three.FloatNode code examples handpicked from public code repositorys.
GitHub: zya/apophenia
74 75 76 77 78 79 80 81 82
var bloomPass = new THREE.UnrealBloomPass(new THREE.Vector2(window.innerWidth, window.innerHeight), 1.9, 0.7, 0.5); composer.addPass(bloomPass); var screen = new THREE.ScreenNode(); 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);
2
28
3
+ 19 other calls in file
three.Vector3 is the most popular function in three (22341 examples)