Skip to content
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

SH baker #217

Closed
zhuxudong opened this issue Apr 14, 2021 · 1 comment
Closed

SH baker #217

zhuxudong opened this issue Apr 14, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request medium priority Medium priority issue Rendering Rendering related functions
Milestone

Comments

@zhuxudong
Copy link
Member

zhuxudong commented Apr 14, 2021

const sh = new SphericalHarmonics3();
SphericalHarmonics3Baker.fromTextureCubeMap(cubeMap, sh);
scene.ambientLight.diffuseMode = DiffuseMode.SphericalHarmonics;
scene.ambientLight.diffuseSphericalHarmonics = sh;
@zhuxudong zhuxudong added enhancement New feature or request Rendering Rendering related functions labels Apr 14, 2021
@zhuxudong zhuxudong added this to the 0.5 milestone Apr 14, 2021
@zhuxudong zhuxudong self-assigned this Apr 14, 2021
@zhuxudong zhuxudong changed the title Environment baker Environment probe baker Apr 14, 2021
@zhuxudong zhuxudong modified the milestones: 0.5, 0.6 Apr 14, 2021
@zhuxudong zhuxudong linked a pull request May 23, 2021 that will close this issue
3 tasks
@zhuxudong zhuxudong changed the title Environment probe baker SH baker May 23, 2021
@zhuxudong zhuxudong mentioned this issue May 31, 2021
3 tasks
@zhuxudong zhuxudong linked a pull request May 31, 2021 that will close this issue
3 tasks
@zhuxudong zhuxudong mentioned this issue Jun 15, 2021
3 tasks
@zhuxudong zhuxudong linked a pull request Jun 15, 2021 that will close this issue
3 tasks
@zhuxudong zhuxudong modified the milestones: 0.6, 0.5 Jun 21, 2021
@GuoLei1990 GuoLei1990 added the medium priority Medium priority issue label Jun 28, 2021
@zhuxudong zhuxudong linked a pull request Jul 16, 2021 that will close this issue
3 tasks
@zhuxudong zhuxudong removed a link to a pull request Jul 16, 2021
3 tasks
@zhuxudong
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium priority Medium priority issue Rendering Rendering related functions
Projects
Status: Done
2 participants