WestLangley

Results 239 comments of WestLangley

The original intent was for the Raycaster to return the 'distance' from the camera to the intersection point.

Related history: https://github.com/mrdoob/three.js/pull/11076#issuecomment-293567895.

>Whether fog should be applied before or after tone mapping I think there is no question as to the "proper" workflow. See. https://github.com/mrdoob/three.js/issues/24362#issuecomment-1312188172. I think we should try to find...

>The order should definitely be fog > tonemapping > colorspace. Just one more thing... // Fog code snippet for reference ```glsl gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); ``` //...

>1. Create a WebGL renderer, a scene, a camera and render the scene. The background color is black. >2. Create a WebGPU renderer, a scene, a camera and renderasync the...

Live example with changes proposed in this post: (panning is enabled in this example) https://raw.githack.com/westlangley/three.js/dev-pack_depth/examples/webgl_materials_channels.html Master branch: (panning disabled) https://threejs.org/examples/webgl_materials_channels.html

I have updated the live examples posted [above](https://github.com/mrdoob/three.js/issues/28692#issuecomment-2176807531) to include the latest changes proposed by @leonbloy.

>Three.js' GUI controls (which don't seem to induce this bug for some reason...) Actually, I noticed the Safari issue in the example links in https://github.com/mrdoob/three.js/issues/28692#issuecomment-2176807531. Those examples do use the...

Yes, using the `position` property to define the orientation of the `HemisphereLight` is unusual. If a change is desired, I think the most logical API would be to use the...

This line is redundant. ```js uniforms.direction.normalize(); ```