1.130.9 • Published 9 months ago
@dualbox/three v1.130.9
three.js (fork)
Changes from the original three js repo
- r101 Changed
depth_vert.glsl.js
anddepth_frag.glsl.js
to fix issues with depth on iOS. Achieved by passing downvarying vec2 vHighPrecisionZW;
- Implemented a
Cone
math object, declared inmath/Cone.js
andmath/Cone.d.ts
, and added toThree.js
andThree.d.ts
- Implemented a
Cylinder
math object, declared inmath/Cylinder.js
andmath/Cylinder.d.ts
, and added toThree.js
andThree.d.ts
- Added functions
intersectCone
andintersectCylinder
toRay
- Added extra base uniforms (
viewMatrixInverse
andprojectionMatrixInverse
), that will automatically be attributed byWebGLRenderer
- Added
renderSize
uniform to fragment shaders, declared inWebGLProgram.js
and updated byWebGLRenderer
- Updated
FXAAShader
to support alpha input - ssaoMap material suport:
- Edited
aomap_fragment.glsl.js
andaomap_pars_fragment.glsl.js
shaders to support the use of ssaoMap. - recorded ssaoMap to
UniformsLib
- added ssaoMap uniforms in `Shader lib to :
- basic
- lambert
- phong
- standard
- r121+ toon
- added
ssaoMap
parameter declaration and detection toWebGLPrograms
- added support for parameter
ssaoMap
toWebGLProgram
's auto define declarations - added material detection of an
ssaoMap
parameter to pass down the render pipeline inWebGLRenderer
r101 /WebGLMaterials
r121+ - added
ssaoMap
parameter to:MeshBasicMaterial
MeshLambertMaterial
MeshPhongMaterial
MeshStandardMaterial
- r121+
MeshToonMaterial
- if
aoMap
is also defined,ssaoMap
takes precedance over it - added the
ssaoMapMatrix
parameter, which can be used to manually compute the SSAO texture coordinates.
- Edited
TODO: add changes from 122 to 130
1.130.9
9 months ago
1.130.6
9 months ago
1.130.8
9 months ago
1.130.7
9 months ago
1.130.5
1 year ago
1.130.4
2 years ago
1.130.3
2 years ago
1.130.2
2 years ago
1.130.1
2 years ago
1.122.9
2 years ago
1.101.8
3 years ago
1.122.8
3 years ago
1.101.7
3 years ago
1.122.7
3 years ago
1.122.4
3 years ago
1.122.3
3 years ago
1.101.4
3 years ago
1.122.2
3 years ago
1.101.3
3 years ago
1.122.1
3 years ago
1.101.2
3 years ago