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

Experimental emissive water #754

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Conversation

w23
Copy link
Owner

@w23 w23 commented Dec 19, 2024

No description provided.

w23 added 2 commits December 18, 2024 18:19
This does fix a bunch of emissive water surfaces missing, but not all. It also entangles the code even more.

Not sure if its worth it, maybe a better approach is possible.
Brush model water surfaces might be emissive for e.g. toxicgrn textures.
For now we're making original, not tesselated, surfaces emissive for
performance reasons. However, tesselated surfaces are not coplanar with
emissive ones, and therefore cast weird shadows.

Add material flag to make sure that given model doesn't cast shadows
(might be useful not only for water, but e.g. windows and other things).

Add geometry bit for opaque models casting shadows. I.e. not all opaque
models cast shadows now.
@w23 w23 marked this pull request as ready for review December 19, 2024 16:01
@w23 w23 merged commit c31482c into stream-E376-resman Dec 19, 2024
8 checks passed
@w23 w23 deleted the experimental-emissive-water branch December 19, 2024 16:03
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.

1 participant