Skip to content

Support for water meshes#29

Merged
redstrate merged 4 commits intoredstrate:mainfrom
kaze-xiv:water-meshes
Jan 6, 2026
Merged

Support for water meshes#29
redstrate merged 4 commits intoredstrate:mainfrom
kaze-xiv:water-meshes

Conversation

@kaze-xiv
Copy link
Contributor

@kaze-xiv kaze-xiv commented Jan 6, 2026

I've added a tag to a model part describing whether a mesh is actually a normal mesh or a water mesh. This does not need to happen for the other types of mesh because they have their own mesh list. Then I've extended the part converter to check all meshes instead of just looking at mesh meshes.

Now my renderer can find water meshes too :)

image

Fixes #28.

Copy link
Owner

@redstrate redstrate left a comment

Choose a reason for hiding this comment

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

LGTM, I actually needed something like this for terrain shadow meshes too!

kaze-xiv and others added 3 commits January 6, 2026 13:42
Co-authored-by: Joshua Goins <josh@redstrate.com>
@kaze-xiv kaze-xiv requested a review from redstrate January 6, 2026 12:58
Copy link
Owner

@redstrate redstrate left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@redstrate redstrate merged commit 9cc5c65 into redstrate:main Jan 6, 2026
2 checks passed
@kaze-xiv kaze-xiv deleted the water-meshes branch January 6, 2026 14:00
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.

Mdl parsing doesn't provide access to water_meshes

2 participants