Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pr is the first of a series to implement a better BTDF in chunky. This pr adds a linear lerping like in specular reflections in other to enable glossy reflections, a new material parameter called
trasmissionRoughness
which is set independently fromroughness
the UI parameter is Transmission smoothness. Fixes Issue #1591A scene example 80k SSP, the white glass has a transmission smoothness of 1, red glass of 0.75, blue glass of 0.5, notice the increase spread of the caustics (sun sampling is OFF)
![image](https://private-user-images.githubusercontent.com/55562739/280511780-c643dce3-7020-47e9-bf67-bbde91fa93b4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTU5NTEsIm5iZiI6MTczODk1NTY1MSwicGF0aCI6Ii81NTU2MjczOS8yODA1MTE3ODAtYzY0M2RjZTMtNzAyMC00N2U5LWJmNjctYmJkZTkxZmE5M2I0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDE5MTQxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyNDQxNWY3MjdlMmExYjFhMGY4MWI4OWZkMDkyMDRhM2M0MDMyNTljNDU1OWEyMTE5MDFmZDk2YjFhNzgyZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mg-yBVaMKKFZ2qN0fPgX6kUTRbIXXgYGFO-L0XctoMA)
This pr is a draft, there are 2 pending issues: