- 14 8月, 2012 19 次提交
-
-
由 Mr.doob 提交于
-
由 Jono Brandel 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
I find dark background intimidating. Specially for newcomers.
-
由 alteredq 提交于
-
由 alteredq 提交于
Specular map works like it used to for normal map shader. It is assumed to be a grayscale texture. For Phong specular map value modulates specular term strength and environment map reflection strength. For Lambert and Basic materials specular map affects just environment map reflection strength (as these have no specular term). Still not very sure how environment mapping and specular term should interact with each other.
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 AlteredQualia 提交于
Testing editing via GitHub interface
-
由 alteredq 提交于
-
由 alteredq 提交于
This is using Prettify highlighter: http://code.google.com/p/google-code-prettify/ Added "threejs.css" for doing custom styling (if somebody would like to do this). See for example here: http://google-code-prettify.googlecode.com/svn/trunk/styles/index.html http://code.google.com/p/google-code-prettify/source/browse/trunk/styles/sunburst.css
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
Fixes #2318
-
- 12 8月, 2012 1 次提交
-
-
由 dustbin 提交于
Changed multiply to use temporary variables in case a or b is this.
-
- 11 8月, 2012 4 次提交
-
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
It requires OES_standard_derivatives extension and benefits a lot from having EXT_texture_filter_anisotropic extension (set high anisotropy for bump texture). Added new LeePerry example and modified materials2 WebGL example to show this in action. Still quite a few things not solved: - why there are seams at LeePerry model? (I suspect mesh discontinuities? this method is supposed to have less seams problems than normal mapping :S) - it will crash without color map due to missing UVs, need to solve better UV initialization / sharing of shader parameters between chunks - didn't check impact on environment mapping yet - maybe also Lambert could be extended - it should be somehow possible to precompute derivative maps and use this instead of "dHdxy_fwd()" method
-
- 10 8月, 2012 7 次提交
-
-
由 maximeq 提交于
isZero actually checks the squared length against the "small epsilon". 0.0001 = 0.01² so the function will return true for a length < 0.01. By the way if there is a good reason for a so limited accuracy it should be given here in the doc (or maybe even in the code).
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
Not really sure what to do with UVs for remaining geometries - they are either quite arbitrary or anyways not working well so far. Also did some housekeeping for more geometry examples.
-
由 alteredq 提交于
This fixes also TextGeometry.
-
由 alteredq 提交于
This fixes IcosahedronGeometry and OctahedronGeometry (IcosahedronGeometry does have messed up UVs at the seam though this was broken even before, in r49). Also made object rotation frame-rate independent in geometries example.
-
由 alteredq 提交于
-
- 09 8月, 2012 3 次提交
- 08 8月, 2012 6 次提交