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