Commit Graph
1830 Commits
Author SHA1 Message Date
alteredq e459fc92cf Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-09-02 17:43:38 +02:00
alteredq cbdf46c93f Fixed DataTexture class hierarchy. 2011-09-02 17:17:50 +02:00
Mr.doob 6e37afcd11 WebGL materials example: Additive material was missing the transparent: true. 2011-09-02 15:18:20 +02:00
alteredq 2603ccf424 Applied specular highlights fix from @evanw also to Phong shader. 2011-09-02 14:22:58 +02:00
alteredq 5d898fa2f0 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-09-02 13:41:57 +02:00
alteredq 0bd23ca973 Added scene override material to RenderPass. Added mipmapped depth-of-field shader. 2011-09-02 13:40:31 +02:00
Mr.doob d93c91e0d1 Updated builds. 2011-09-02 04:51:00 +02:00
Mr.doob 8412511bbb Merge remote-tracking branch 'evanw/master' into dev 2011-09-02 04:43:16 +02:00
evan 19e0f0ac7c changed vViewPosition to camera space for normal map shader 2011-09-01 20:36:05 -04:00
Mr.doob a22bba1156 Merge remote-tracking branch 'zz85/experimental' into dev 2011-09-01 19:14:30 +02:00
alteredq 5a87757b1b Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-09-01 17:56:43 +02:00
alteredq 59bfd81150 Added MaskPass to postprocessing and clearTarget to WebGLRenderer.
Masking was real pain to get working with multiple render targets :/.

Unfortunately this introduced dependencies on MaskPass.js and ShaderPass.js even for use cases that do not use masking. Bah, will need to figure out some better way for deployment.
2011-09-01 17:41:56 +02:00
Mr.doob d8e75851f1 Uops, creating __webglMorphTargetsBuffers there is not what we want. 2011-09-01 17:27:20 +02:00
Mr.doob 1be08e8afe WebGLRenderer: Added deallocateObject and deallocateTexture methods. 2011-09-01 17:18:02 +02:00
Mr.doob 42c62641b4 Merge remote-tracking branch 'alteredq/dev' into dev 2011-09-01 05:01:17 +02:00
Mr.doob 3d67cf43c3 Projector now using the "array.length = 0" way. 2011-09-01 05:01:06 +02:00
alteredq 20fae814e7 Refactored postprocessing to use double buffering.
Cause everywhere there are warnings about not writing to the same texture which is also being read. Curiously enough this didn't make problems so far (save for mysterious lines when doing "heat" effect in ro.me).
2011-09-01 00:19:31 +02:00
alteredq 1cbcc5beab Optimized postprocessing example.
No need to use full-screen render targets for quarter-screen images (still keeping big one for geometry pass to emulate antialiasing).

Also added check for existence of normalMatrix in shader when setting uniforms in WebGLRenderer. Null was being sent to GPU for materials that don't use normals (e.g particles).
2011-08-31 15:55:58 +02:00
alteredq 058f86f6ab Moved focus shader out of dynamic particles example into ShaderExtras.
Also updated dynamic particles example to handle resizing.
2011-08-31 15:04:38 +02:00
alteredq f6fa60700e Fixed texture filtering example.
There was z-fighting and obsolete UVs hacking.
2011-08-31 14:03:31 +02:00
alteredq 918f36cfa0 Fixed broken shaders example. 2011-08-31 13:50:13 +02:00
alteredq 743363b5b5 Updated video and dynamic particles examples to use new postprocessing system. 2011-08-31 13:38:05 +02:00
alteredq 797530e4f7 Moved 2d filter shaders from ShaderUtils to ShaderExtras. 2011-08-31 13:16:49 +02:00
alteredq 10e12a8305 Added generic ShaderPass. Removed SepiaPass, ScreenPass, VignettePass. Added bleachbypass shader. Simplified multi-composer pipeline in postprocessing example. 2011-08-31 01:06:26 +02:00
alteredq beeac6bc08 Updated text example to use new postprocessing system. 2011-08-30 21:44:32 +02:00
alteredq 3a5d02cc39 Added vignette shader / effect. Updated postprocessing example. 2011-08-30 18:59:00 +02:00
alteredq 093bbb1cb9 Added dot screen shader / effect. Extended postprocessing demo. Fixed viewport bug for render targets. 2011-08-30 16:48:47 +02:00
alteredq 32f0f884bd Added sepia shader / effect. 2011-08-30 12:38:32 +02:00
alteredq 173a2c56c1 Rebuilt libs. 2011-08-29 23:40:57 +02:00
alteredq 771787a49b Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-08-29 23:37:50 +02:00
alteredq ff09a492bb Refactored postprocessing out of examples into own set of classes.
Not sure yet about names and location of files.
2011-08-29 23:35:36 +02:00
Mr.doob f2fb6c3982 For clarity reasons I'll start setting the REVISION to *NEXT*dev for the dev branch. And updating to *NEXT* when merged to master. 2011-08-29 16:35:06 +02:00
Mr.doob a59647d63d Ray.js: We don't want dot == 0 either. 2011-08-29 15:51:16 +02:00
Mr.doob 26c9c18e66 Fixed lost webgl_rtt changes in the merge. 2011-08-29 14:36:28 +02:00
Mr.doob 6b2319c0aa Merge remote-tracking branch 'alteredq/dev' into dev 2011-08-29 14:33:40 +02:00
Mr.doob 7fd7c2dff5 Merging with @alteredq's dev. 2011-08-29 14:33:34 +02:00
Mr.doob 717e414801 Examples that used Torus_bin now use TorusGeometry. 2011-08-29 14:31:43 +02:00
alteredq 495de75ff2 Added OrthoCamera.
Modified examples to use it, hacking projection matrix started to feel a bit dirty.
2011-08-29 10:34:18 +02:00
zz85 1b8c878cc5 Fixed Canvas Particle artifacts 2011-08-29 11:21:25 +08:00
Mr.doob 7c7d4428f2 Moved src/materials/Mappings.js inside src/materials/Texture.js
Moved `src/materials/*Texture.js` to `src/textures/*Texture.js`
2011-08-29 05:18:25 +02:00
Mr.doob 45fa8fff48 Ray.js: Now ignores objects behind origin and also faces behind origin (using the centroid). 2011-08-29 03:55:45 +02:00
Mr.doob 6e5d049045 Ray.js: Probably better without any extra checks. 2011-08-29 02:02:59 +02:00
Mr.doob a07bc88ae0 Ray.js: The bounding sphere check wasn't considering flipSided/doubleSided when the origin was inside the sphere. 2011-08-29 01:45:24 +02:00
zz85 9ff5e00610 New Canvas & Particles Emitter Example 2011-08-29 00:54:28 +08:00
Mr.doob 8fd041508f extras/io > extras/loaders
extras/collada/dae.js > extras/loaders/ColladaLoader.js

removed LoaderOld.js
2011-08-26 23:44:47 +02:00
Mr.doob ee80c958a1 TorusGeometry: Proper vertex and face normal calculation.
Some clean up on Vector* constructors.
Added UV::clone.
2011-08-26 23:33:13 +02:00
Mr.doob 4e1d803a5e Merge remote-tracking branch 'robertshield/master' into dev 2011-08-26 22:10:37 +02:00
alteredq dcee8501f6 Merged with rectalogic's texture update fix. 2011-08-26 19:47:28 +02:00
alteredq 4336d757ac Added WebGLRenderTargetCube.
Work-in-progress.
2011-08-26 19:40:56 +02:00
Robert Shield 91fd762303 Fix Vector3.divideSelf, previously it called an undefined method. 2011-08-26 02:10:22 -04:00