Skip to content

Introduces lighting#146

Merged
zachernuk merged 2 commits into
mainfrom
shading-environment-map
Mar 13, 2026
Merged

Introduces lighting#146
zachernuk merged 2 commits into
mainfrom
shading-environment-map

Conversation

@zachernuk
Copy link
Copy Markdown
Collaborator

@zachernuk zachernuk commented Feb 13, 2026

Added the environmentMap attribute and environmentMapReady promise to the IDL, Added initial language about the use of a PBR shading model and IBL.

I'm open to more granular specification of the requirements here, but I think we would be better off referencing some other specification, or to add language that indicates that these are UA/OS decisions.

I don't believe anyone has an interest in providing a ground shadow for the in-line element, so I've also removed the issue related to that.

fixes #48
fixes #47


Preview | Diff

Added the environmentMap attribute and environmentMapReady promise to the IDL,
Added initial language about the use of a PBR shading model and IBL.

fixes 48
fixes 47
@zachernuk
Copy link
Copy Markdown
Collaborator Author

We have discussed taking the concept of lighting further but I'd love to start with the most basic definition - is this missing anything from the discussions to date?

Copy link
Copy Markdown
Member

@cabanier cabanier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This look OK for now but it will need an algorithm that descibes how the promise is created, the map is parsed, etc

@cabanier
Copy link
Copy Markdown
Member

I see there are conflicts in the index.html. I usually put the output html in its own branch and publish that with github pages.
Then I force push subsequent changes so I don't have to merge the html

@zachernuk zachernuk merged commit 33d49e5 into main Mar 13, 2026
2 checks passed
@zachernuk zachernuk deleted the shading-environment-map branch March 13, 2026 23:27
github-actions Bot added a commit that referenced this pull request Mar 13, 2026
SHA: 33d49e5
Reason: push, by zachernuk

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Means of controlling the shadow Setting the image-based lighting (IBL)

4 participants