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

No more TESR on conduits #176

Merged
merged 5 commits into from
Oct 21, 2024
Merged

No more TESR on conduits #176

merged 5 commits into from
Oct 21, 2024

Conversation

Cleptomania
Copy link
Member

This change completely removes the TESR for all conduits. The TESR was only actually used by the basic fluid conduit to render the fluid texture inside the conduit, this is mostly entirely unnecessary and can be rendered via the ISBRH.

All conduits other than the basic fluid conduit are completely unchanged by this, and as of writing there is a minor change to the rendering of the basic fluid conduit. The first image below is the original rendering with the TESR, the second image is the new rendering from ISBRH. The only different is that I'm not sure how to make it not darken the top(I also can't tell how the TESR is doing this either).

image
image

The advantage of this change is that currently the TESR, while largely unused, is still implemented for every single conduit, meaning that the rendering loop for TESRs has to waste time going through each conduit, even if it's ultimately just going to do some checks and then not render anything.

@Cleptomania Cleptomania requested a review from a team October 6, 2024 20:41
@boubou19 boubou19 merged commit 0fbf6f0 into master Oct 21, 2024
1 check passed
@boubou19 boubou19 deleted the conduit-tesr-nuke branch October 21, 2024 18:09
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.

2 participants