Mikael Emtinger
|
f70aaed1d8
Merge branch 'master' of git://github.com/mrdoob/three.js
|
14 years ago |
Mikael Emtinger
|
c3ab2eb1e9
Rewrote lens flares to not use readPixels. There are different solutions based on availablity of vertex textures. If available, occlusion calculation is more exact and handles partial occlusion on screen edges. If not available, occlusion calculation is less exact (because it's made on each fragment so it has to be fast) and partial occlusion by screen edge is not possible (same reason).
|
14 years ago |
alteredq
|
1fd801719f
Added option to have flat shading for renderBufferImmediate.
|
14 years ago |
alteredq
|
7915999bdd
Added edges to Blender exporter, JSONLoader and Geometry.
|
14 years ago |
Mikael Emtinger
|
e7b6f4ad3c
Merged with mrdoob
|
14 years ago |
Mikael Emtinger
|
ea42310975
Added .boundTo in custom attributes. If not defined, it assumes that the custom attribute data has the length of vertices (boundTo="vertices"). If boundTo="faces", the custom attribute data has the length of faces.length. If boundTo="faceVertices" the cursom attribute data has the length of: numFace3*3 + numFace4*4.
|
14 years ago |
alteredq
|
7e6ba581de
Removed some bottlenecks in shader building / sharing.
|
14 years ago |
Mikael Emtinger
|
08642c5239
Merged with mrdoob.
|
14 years ago |
Mr.doob
|
8c3fa8f401
WebGLRenderer: Removed unneded program checks.
|
14 years ago |
Mikael Emtinger
|
b35b70a0e0
Fixed bug in stencil shadow renderer.
|
14 years ago |
Mr.doob
|
29da25e746
WebGLRenderer: Added internal cache for compiled shaders. Already compiled shaders get reused.
|
14 years ago |
alteredq
|
d12252421e
Synced with mrdoob's branch.
|
14 years ago |
Mr.doob
|
816d19a8d6
REVISION ++
|
14 years ago |
alteredq
|
f518051f1f
Fixed some spurious invisible character in WebGLRenderer.
|
14 years ago |
Mikael Emtinger
|
70594cc9ce
Fixed so dirty=false after uploading custom attribute
|
14 years ago |
Mikael Emtinger
|
e88b1b4783
Merged with mrdoob.
|
14 years ago |
Mikael Emtinger
|
a0b0de46ff
Added support for custom attributes in MeshShaderMaterial.
|
14 years ago |
Mr.doob
|
d5cff3fd37
WebGLRenderer: Removed dupe blending.
|
14 years ago |
Mr.doob
|
bfceae1655
Minor formating clean up.
|
14 years ago |
Mr.doob
|
8af4dd49c1
WebGLRenderer now uses material.transparent to determine whether a material is transparent or not.
|
14 years ago |
Mikael Emtinger
|
7b07f34b7d
merged with mrdoob. fixed so depthMask is correctly restored after stencil and lensflares. removed all enable/disable _gl.BLEND as it's always on.
|
14 years ago |
Mikael Emtinger
|
3536f3f2f5
Merged with MrDoob
|
14 years ago |
Mikael Emtinger
|
ac6f422a6f
Added LensFlares. Note that a new blending mode has been added. Added an (quite ugly example). NOTE: this doesn't seem to work on Chrome+Mac+NVIDIA unless you turn off antialias (which I've done in the example).
|
14 years ago |
Mr.doob
|
532929d510
WebGLRenderer: Added distance (falloff) to PointLight.
|
14 years ago |
alteredq
|
fd145f038e
Reverted accidental reverting of mrdoob's changes.
|
14 years ago |
alteredq
|
dc8c98db5f
Put some shader attributes behind #ifdef in buildProgram.
|
14 years ago |
Mr.doob
|
ba7ad63043
WebGLRenderer: Minor syntax clean up. Removed the rest of premultiplied alpha ops.
|
14 years ago |
Mr.doob
|
d6949ea2ce
NormalBlending is now 1:1 with Blender :_)
|
14 years ago |
Mr.doob
|
59443e5725
WebGLRenderer: Some clean up of blending modes.
|
14 years ago |
Mikael Emtinger
|
9ee4c267b1
In the middle of lens flares
|
14 years ago |