- 26 11月, 2012 7 次提交
-
-
由 alteredq 提交于
Before base class attributes that weren't in the constructors were not cloned properly in derived classes.
-
由 alteredq 提交于
This is needed for handling manually created non-power-of-2 or small RGB DataTextures. It corresponds to GL_UNPACK_ALIGNMENT parameter in glPixelStorei: http://www.khronos.org/opengles/sdk/docs/man/xhtml/glPixelStorei.xml
-
由 alteredq 提交于
Warning: this doesn't work with RGB textures (3 bytes per pixel) because of default 4 byte alignment requirement deeper in WebGL / OpenGL layer. Uploading smaller mipmap levels gets these GL errors: "ArrayBufferView not big enough for request with UNPACK_ALIGNMENT > 1" It works ok with RGBA textures (4 bytes per pixel). Seems this could also explain why 1 pixel RGB DataTextures were failing sometimes.
-
由 alteredq 提交于
-
由 alteredq 提交于
See #2681
-
由 alteredq 提交于
-
由 alteredq 提交于
Fixes #2683
-
- 25 11月, 2012 1 次提交
-
-
由 Ben Adams 提交于
-
- 24 11月, 2012 9 次提交
- 23 11月, 2012 4 次提交
-
-
由 zz85 提交于
-
-
由 MiiBond 提交于
Right now, if the DDS data is a cubemap, the code is hardcoded to load 6 faces. This could be made more robust by checking DDSCAPS2_CUBEMAP_POSITIVEX, etc. to verify that all 6 faces exist before reading the data from the buffer. I also did a quick update of the webgl_materials_texture_compressed example to load a cube DDS.
-
由 alteredq 提交于
Now morph buffers behave the same like other buffers and do not attempt to get set when materials do not use corresponding attributes. Not having this was crashing deferred rendering when shuffling around materials in G-buffer passes.
-
- 22 11月, 2012 19 次提交
-
-
由 Mr.doob 提交于
-
由 gero3 提交于
fixes #2666
-
由 alteredq 提交于
Gained more performance, used it for more bling.
-
由 Mr.doob 提交于
-
由 alteredq 提交于
Up to 95 fps.
-
由 alteredq 提交于
Small performance improvement (88 fps => 91 fps).
-
由 alteredq 提交于
Much faster with "discard" (56 fps => 88 fps).
-
由 alteredq 提交于
Also fixed light colors to be in linear color space to match the rest of the pipeline.
-
由 alteredq 提交于
-
由 alteredq 提交于
- changed model to Lee Perry - changed light pass material to use RGB-weighted wrap-around lighting (with deferred can't have easily together multiple material types :S) - changed deferred rendering to use linear space lighting
-
由 alteredq 提交于
Refactored deferred rendering example to make it easier to use per-object depth and normal materials.
-
由 alteredq 提交于
This is to make it work with textured objects that use Geometry (instead of BufferGeometry). Otherwise reusing the same Geometry between color and normal passes creates buffer requirements clash, where one pass needs just normals and other just UVs. ShaderMaterial forces creation of normal and uv buffers all the time (MeshBasicMaterial just creates what's needed for the first render).
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
Goes with #2657
-
由 alteredq 提交于
Removed internal variables _projectionMatrixArray and _viewMatrixArray from WebGLRenderer and render plugins. These are not needed anymore as matrix elements are directly usable for uniforms.
-
由 alteredq 提交于
Unfortunately we can't keep these settings always on: without "--jscomp_off=checkTypes" the amount of spam is just too crazy. It complains about tons of normal things, I had to manually dig out few useful warnings among 900 irrelevant ones.
-
由 alteredq 提交于
Previous one: Version: 20120710 (revision 2079) Built on: 2012/07/10 20:55 Current one: Version: 20120917 (revision 2180) Built on: 2012/09/17 14:33 Trying to find out why we miss warning about trailing commas (see #2665)
-
由 Mr.doob 提交于
-