How to use the NoToneMapping function from three

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

112
113
114
115
116
117
118
119
120
121
// Signals
signals.editorCleared.add(function () {
    currentRenderer.physicallyCorrectLights = false;
    currentRenderer.shadowMap.enabled = true;
    currentRenderer.shadowMap.type = THREE.PCFShadowMap;
    currentRenderer.toneMapping = THREE.NoToneMapping;
    currentRenderer.toneMappingExposure = 1;
    physicallyCorrectLightsBoolean.setValue(currentRenderer.physicallyCorrectLights);
    shadowsBoolean.setValue(currentRenderer.shadowMap.enabled);
    shadowTypeSelect.setValue(currentRenderer.shadowMap.type);
fork icon1
star icon3
watch icon0

254
255
256
257
258
259
260
261
262
263
  canvas: this.domElement,
  antialias: true
});
this.renderer.autoClear = true;
this.renderer.shadowMap.autoUpdate = false;
this.renderer.toneMapping = THREE.NoToneMapping;
this.renderer.physicallyCorrectLights = true;
this.renderer.setPixelRatio(window.devicePixelRatio);
this.renderer.forwardRendering = false;
this.renderer.toneMappingExposure = Math.pow(1.0, 2.0);
fork icon0
star icon7
watch icon0

+ 3 other calls in file

Other functions in three

Sorted by popularity

function icon

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