Skip to content

Commit f567f79

Browse files
committed
Merge branch 'main' of github.com:gkjohnson/three-shader-pathtracing into main
2 parents b81c50a + d66fba9 commit f567f79

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
- Support for vertex colors.
1111
- Support for attenuated transmission.
1212
- PathTracingRenderer.alpha: Docs specifying premuliplied alpha behavior.
13+
- Support for thin film transmission.
1314

1415
### Fixed
1516
- Diffuse materials looking too dark.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,9 @@ Updates the size and values of the texture to align with the provided set of mat
681681

682682
The "matte" and "side" values must be updated explicitly.
683683

684+
> **Note**
685+
> In order for volume transmission to work the "attenuationDistance" must be set to a value less than Infinity or "thickness" must be set to a value greater than 0.
686+
684687
## LightsInfoUniformStruct
685688

686689
Helper uniform for encoding lights as texture data with count.

0 commit comments

Comments
 (0)