alteredq
|
53a732065a
Added fog to normal map shader.
|
14 years ago |
Mr.doob
|
8bf95541b0
Some clean up.
|
14 years ago |
Mr.doob
|
176d0f2884
Merging with @alteredq's branch.
|
14 years ago |
alteredq
|
f104182458
Added handling of texture repeat and offset to WebGLRenderer.
|
14 years ago |
Mr.doob
|
76e7ea3461
Added namespace to all the objects that missed it (geometries, uniforms, etc)
|
14 years ago |
Mikael Emtinger
|
d8e5678ece
Optimized initalization of ShadowVolumes by using supplied edge information (if available)
|
14 years ago |
Mikael Emtinger
|
d87224face
Put back the pink square method to allow for partial screen border occlusion in opengl
|
14 years ago |
Mikael Emtinger
|
50b6745ad6
Added sorting to sprites and updated example.
|
14 years ago |
Mikael Emtinger
|
615f872023
Added sprite support. See Sprite.js for details. No support for custom shader at this point.
|
14 years ago |
Mikael Emtinger
|
2c8b6b35fe
Fixed bug in lens flare
|
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 |
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 |
Mr.doob
|
ba7ad63043
WebGLRenderer: Minor syntax clean up. Removed the rest of premultiplied alpha ops.
|
14 years ago |
Mikael Emtinger
|
9ee4c267b1
In the middle of lens flares
|
14 years ago |
Mikael Emtinger
|
66f657d84a
Optimized rendering of shadow volumes and the shader.
|
14 years ago |
Mikael Emtinger
|
a25155bde6
Change blending method on shadow polygons. Updated example to use Lambert material and only one shadow casting directional light.
|
14 years ago |
Mikael Emtinger
|
95e92d9026
Stencil shadows added
|
14 years ago |
alteredq
|
da497665f7
Synced with empaempa plus made it possible to use scene lights in MeshShaderMaterial.
|
14 years ago |
alteredq
|
2127bdeb50
Merged morphing from empaempa.
|
14 years ago |
alteredq
|
13ccc02a8a
Refactored shader and uniform snippets out of WebGLRenderer into WebGLShaders.
|
14 years ago |