-
Notifications
You must be signed in to change notification settings - Fork 67
Iridescent fresnel, bxdfs #918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 26 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
4b3224a
initial iridescent fresnel, only single channel ior
keptsecret 9c71906
iridescent fresnel does rgb IOR, use in brdf
keptsecret 0f51306
some bug fixes
keptsecret f205d4e
replace loop for vector operations in fresnel
keptsecret f6daa6f
added iridescent btdf
keptsecret 09402ea
added unit tests
keptsecret a77c337
merge bxdfs, fix conflicts
keptsecret aa0f6e8
latest example
keptsecret d2cb193
moved colorspace transform mats into struct functions
keptsecret 33fc955
some more colorspace utility
keptsecret 0f6c7a2
merge latest bxdf_fixes, fix conflicts
keptsecret d8b6773
restore encode/decode matrices
keptsecret 65239d9
colorspace specific dominant wavelengths (still missing ACES), use gl…
keptsecret 9a8b77e
update iridescent fresnel to match fresnel concept
keptsecret 702ec8d
Merge branch 'master' into iridescence_bxdf
keptsecret 76ad0ed
minor typo fixes
keptsecret 53c930f
minor fixes to cook torrance, ndf infinity, move util functions into …
keptsecret 23de8ed
changes to angle adding usage
keptsecret ff9e03f
better orthonormality for H
keptsecret 18b3922
minor change to ggx clamp
keptsecret a5d8f5c
Merge branch 'master' into iridescence_bxdf
keptsecret f3dd05c
minor changes to create complex_t in angle_adding
keptsecret 68d3614
refactor out common section of cook torrance generate
keptsecret aebfecf
added luma contribution hint, getPrefixThroughputWeights to interacti…
keptsecret b53fa1b
cook torrance bsdf can use spectral fresnel, uses interaction.getPref…
keptsecret 946b050
thin smooth dielectric use luma coeff from interaction
keptsecret 1a2f561
split iridescent fresnel by SupportsTransmission, adjusted fresnel co…
keptsecret 4b8a06b
fix edge cases for iridescent fresnel
keptsecret 5782a49
removed redundant weight in interaction
keptsecret 55471ca
removed duplicate fresnel code, added creation params for iridescent
keptsecret 64be771
split out iridescent fresnel vars into base struct
keptsecret 8f9a114
renamed private funcs, replace enable_if usage with NBL_FUNC_REQUIRES
keptsecret 8a71f40
avoid promoting 1d fresnel to 3d just to dot product, added private f…
keptsecret dee1b61
init ndf quants, minor cook torrance fixes
keptsecret cd9b18b
primaries wavelengths for aces colorspaces (not sure they're correct)
keptsecret 0984c7e
fixes to angle adder, handle some edge cases
keptsecret 3d7ded6
Merge branch 'master' into iridescence_bxdf
keptsecret 1908749
Bugfix `sincos_accumulator::create`
devshgraphicsprogramming File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Submodule examples_tests
updated
8 files
268 changes: 129 additions & 139 deletions
268
include/nbl/builtin/hlsl/bxdf/base/cook_torrance_base.hlsl
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.