Mr.doob
|
bfd29f459f
WebGLRenderer: Avoid flat shading buffer creation when using MeshPhongMaterial and clean up. See #6117.
|
10 years ago |
Mr.doob
|
b1550613ff
Merge branch 'common.glsl' of https://github.com/bhouston/three.js into dev
|
10 years ago |
Ben Houston
|
e2f8ed6b3b
RECIPROCAL_2PI -> RECIPROCAL_PI2
|
10 years ago |
Ben Houston
|
92c8bda8ec
common.glsl: transformNormal -> transformDirection and inverseTransformNormal -> inverseTransformDirection.
|
10 years ago |
Ben Houston
|
6f8d6ddd06
remove material.ambient from everything per discussion here: https://github.com/mrdoob/three.js/pull/5741#issuecomment-67893202
|
10 years ago |
Mr.doob
|
1d6da685c1
Moved ShaderLib[ "normalmap" ] to examples/js/NormalDisplacementShader.js.
|
10 years ago |
Ben Houston
|
ea188856bf
fix bug when applying common.glsl
|
10 years ago |
Ben Houston
|
6999732f29
adopt common.glsl shader utilities across all shaders where applicable. Fix vec*matrix bug in envmap_fragment.glsl
|
10 years ago |
Mr.doob
|
7f7629ab0d
glsl clean up
|
10 years ago |
Mr.doob
|
1e716c56b1
WebGLRenderer: useRefract to defines.
|
10 years ago |
Michael Bond
|
5e9ad40b35
Replacing indentation spaces with tabs
|
10 years ago |
Michael Bond
|
484f364eb8
Adding different environment mapping types including equirectangular mapping and sphere mapping
|
10 years ago |
Jan Wrobel
|
d1b37e0c35
Calculate envmap reflection vector for the phong material per fragment
|
11 years ago |
Ian Kerr
|
8437bfb9c6
Merge branch 'dev' into refactor_flexible_skinning
|
11 years ago |
tranek
|
abd0b594b7
Added Alpha Test to Normal Map Shader
|
11 years ago |
Ted Cipicchio
|
c68fd8e6ed
Moved "alphamap_fragment" shader chunks immediately after "map_fragment".
|
11 years ago |
Ted Cipicchio
|
a7b2e8ee9a
Support for separate alpha map textures.
|
11 years ago |
Ian Kerr
|
a89b5adf1f
Merge branch 'dev' into refactor_flexible_skinning
|
11 years ago |
Joshua Koo
|
aafd29c50a
Code transforming mrdoob style second attempt See #4806
|
11 years ago |
Nima
|
bcae10df4e
fixed nagative f in pow warning in shaders
|
11 years ago |
Ian Kerr
|
889fa9ff63
This commit re-introduces THREE.Skeleton to decouple bone/object transformations
|
11 years ago |
Mr.doob
|
e123b1ce73
Removed 2.0001 workaround for ANGLE.
|
11 years ago |
Mr.doob
|
4cf4ff20d0
Shaders code clean up.
|
11 years ago |
Joshua Koo
|
61d8213115
Support MorphTargets in MeshDepthMaterial (#4662)
|
11 years ago |
Mr.doob
|
51d22d83bd
ShaderLib: Implemented @forest-ka shadow fix. See #4341.
|
11 years ago |
James Baicoianu
|
dcc87ee373
Added logarithmic depth buffer code to ShaderChunk with references in ShaderLib
|
11 years ago |
Sean Griffin
|
a39f41a6ae
One more 4 influences/vertex in the shader
|
11 years ago |
Sean Griffin
|
98e264a73a
Account for 4 influnces per vertex in vertex shader
|
11 years ago |
Mr.doob
|
c44c885d79
WebGLRenderer: Generating easier to read shaders.
|
11 years ago |
Ben Houston
|
04ce05d49c
unifying shader names.
|
11 years ago |