three-gpu-pathtracer 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/build/index.module.js +248 -198
- package/build/index.module.js.map +1 -1
- package/build/index.umd.cjs +245 -195
- package/build/index.umd.cjs.map +1 -1
- package/package.json +5 -6
- package/src/core/DynamicPathTracingSceneGenerator.js +8 -3
- package/src/core/PathTracingRenderer.js +8 -4
- package/src/core/PathTracingSceneGenerator.js +6 -1
- package/src/materials/debug/GraphMaterial.js +1 -1
- package/src/materials/fullscreen/AlphaDisplayMaterial.js +1 -1
- package/src/materials/fullscreen/DenoiseMaterial.js +1 -1
- package/src/materials/fullscreen/GradientMapMaterial.js +1 -1
- package/src/materials/pathtracing/LambertPathTracingMaterial.js +4 -3
- package/src/materials/pathtracing/PhysicalPathTracingMaterial.js +61 -46
- package/src/materials/pathtracing/glsl/attenuateHit.glsl.js +2 -11
- package/src/materials/pathtracing/glsl/directLightContribution.glsl.js +10 -6
- package/src/materials/pathtracing/glsl/getSurfaceRecord.glsl.js +1 -1
- package/src/materials/pathtracing/glsl/traceScene.glsl.js +10 -12
- package/src/materials/surface/AmbientOcclusionMaterial.js +4 -3
- package/src/shader/bsdf/bsdfSampling.glsl.js +7 -7
- package/src/shader/common/bvhAnyHit.glsl.js +2 -2
- package/src/shader/common/intersectShapes.glsl.js +2 -2
- package/src/shader/rand/sobol.glsl.js +3 -3
- package/src/shader/sampling/equirectSampling.glsl.js +10 -10
- package/src/shader/sampling/lightSampling.glsl.js +30 -37
- package/src/shader/structs/fogMaterialBvh.glsl.js +2 -2
- package/src/shader/structs/lightsStruct.glsl.js +12 -1
- package/src/shader/structs/materialStruct.glsl.js +16 -15
- package/src/textures/ProceduralEquirectTexture.js +9 -8
- package/src/uniforms/EquirectHdrInfoUniform.js +18 -17
- package/src/uniforms/IESProfilesTexture.js +2 -2
- package/src/uniforms/LightsInfoUniformStruct.js +4 -2
- package/src/uniforms/MaterialsTexture.js +3 -1
- package/src/utils/BlurredEnvMapGenerator.js +4 -4
- package/src/utils/GeometryPreparationUtils.js +8 -2
- package/src/utils/IESLoader.js +7 -5
- package/src/utils/TextureUtils.js +15 -0
package/README.md
CHANGED
|
@@ -16,7 +16,9 @@ _More features and capabilities in progress!_
|
|
|
16
16
|
|
|
17
17
|
**Setup**
|
|
18
18
|
|
|
19
|
-
[Basic Setup Example](https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/basic.html)
|
|
19
|
+
[Basic glTF Setup Example](https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/basic.html)
|
|
20
|
+
|
|
21
|
+
[Basic Primitive Geometry Example](https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/primitives.html)
|
|
20
22
|
|
|
21
23
|
**Beauty Demos**
|
|
22
24
|
|