-
-
The default Jax shaders for lighting include an ambient component for both the light source itself and the material of the mesh being rendered. However, according to the Blinn-Phong shading model whic…
-
-
@alteredq In the Phong lighting calculations, you have added a diffuse term into the specular component like so:
```
dirSpecular += directionalLightColor[ i ] * uSpecularColor * dirSpecularWeight * d…
-
I noticed that there is no reference to an emission factor in lambert and phong materials/shaders. I thought this was a common parameter for GL? Is there a specific reason it is not currently included…
-
Hi,
I have a problem with pointlight. The light does not show on some objects.
Example: http://www.artfolio.de/dorenderscene.php
There is no pointlight on the wall. The wall and the door are loaded …
-
Hi,
I was left unsure about the final verdict on this one so just to clarify am I right in saying that this is a bug: http://gnitsuk.leadhoster.com/ThreeTest/Test5.html (Click to start rotation).
Th…
-
Is it possible to update the shadows on a mesh when animating with morph targets? When you rotate a textured object the shadows rotate with it...
Thanks!
-
Upgrading to r46 causes my ambient lights to be dark.
``` javascript
ambientLight = new THREE.AmbientLight( 0xbbbbbb );
scene.add( ambientLight );
```
Everything is dark now.
jstin updated
13 years ago
-
Hi All
AFAIK I need to create OpenGL pixel shader to have a OpenGL phong preview.
I'm familiar with phong render but never did it in OpenGL. My task is quite standard - I need just a lighting with su…