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

Editor: Alerts if invalid material found when rendering image in REALISTIC #28518

Merged

Conversation

ycw
Copy link
Contributor

@ycw ycw commented May 28, 2024

Pathtracer only supports MeshStandardMaterial and MeshPhysicalMaterial, so when rendering image in REALISTIC, editor will popup a blank window if there're invalid materials in scene. This PR alerts users instead for this case.

Also, this PR updated UISelect's keys to use shading name in string, 'realistic', instead of number-but-actually-string 1, the code is now easier to reason about

@Mugen87 Mugen87 modified the milestone: r166 May 31, 2024
@Mugen87 Mugen87 merged commit c7e4ed5 into mrdoob:dev Jun 3, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants