-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Physically based light units #4618
Merged
Merged
Commits on Sep 22, 2022
-
Use luminance to calculate final light contribution before passing intensity and color to shader.
Configuration menu - View commit details
-
Copy full SHA for 2f69e3b - Browse repository at this point
Copy the full SHA 2f69e3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d97d6 - Browse repository at this point
Copy the full SHA 10d97d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f113a3 - Browse repository at this point
Copy the full SHA 3f113a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14b8953 - Browse repository at this point
Copy the full SHA 14b8953View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81a3fbd - Browse repository at this point
Copy the full SHA 81a3fbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd5324e - Browse repository at this point
Copy the full SHA cd5324eView commit details -
Clarified light luminance calculation code
Added documentation references to the calculation for the lux calculation for the light sources. Changed from an if chain to switch to make it more clear the last condition is for directional lights.
Configuration menu - View commit details
-
Copy full SHA for bc325e7 - Browse repository at this point
Copy the full SHA bc325e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e05e3c - Browse repository at this point
Copy the full SHA 7e05e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bf89c7 - Browse repository at this point
Copy the full SHA 2bf89c7View commit details -
Add internal flag to make sure lights calculate physical units
If the scene changes the physical units flag after the light is added, the lights will need their final color calculated to reflect that.
Configuration menu - View commit details
-
Copy full SHA for 52eb5b4 - Browse repository at this point
Copy the full SHA 52eb5b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05cd54a - Browse repository at this point
Copy the full SHA 05cd54aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e62dc - Browse repository at this point
Copy the full SHA 09e62dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6354bf - Browse repository at this point
Copy the full SHA c6354bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1205f5 - Browse repository at this point
Copy the full SHA f1205f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d92e50b - Browse repository at this point
Copy the full SHA d92e50bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b213217 - Browse repository at this point
Copy the full SHA b213217View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c2f800 - Browse repository at this point
Copy the full SHA 3c2f800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d63dd - Browse repository at this point
Copy the full SHA 51d63ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for d66db5d - Browse repository at this point
Copy the full SHA d66db5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dd8f13 - Browse repository at this point
Copy the full SHA 3dd8f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6bb56d - Browse repository at this point
Copy the full SHA f6bb56dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b27faf0 - Browse repository at this point
Copy the full SHA b27faf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1819d7 - Browse repository at this point
Copy the full SHA f1819d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71bb6c6 - Browse repository at this point
Copy the full SHA 71bb6c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08003f8 - Browse repository at this point
Copy the full SHA 08003f8View commit details
Commits on Sep 23, 2022
-
Co-authored-by: Will Eastcott <will@playcanvas.com>
Configuration menu - View commit details
-
Copy full SHA for 57a970b - Browse repository at this point
Copy the full SHA 57a970bView commit details -
Co-authored-by: Will Eastcott <will@playcanvas.com>
Configuration menu - View commit details
-
Copy full SHA for 55b7acf - Browse repository at this point
Copy the full SHA 55b7acfView commit details
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.