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

Using a refract texture to perform self-culling during demat #1054

Open
FuzzyLeo opened this issue Jan 18, 2024 · 0 comments
Open

Using a refract texture to perform self-culling during demat #1054

FuzzyLeo opened this issue Jan 18, 2024 · 0 comments

Comments

@FuzzyLeo
Copy link

basically, if you have a duplicate of the model in the exact same spot, and that duplicate has a refract model compatible texture, then it culls part of the model creating a very nice transparency effect

image

you could make it so this duplicate model only existed during demat, ensuring no issues during regular play

howevere there are 2 main issues with this, 1 you can fix, and 1 im not sure about

first, the main thing is that the textures MUST be applied to the model the same way the material tool and texturesets do it, having the texture be on the model the same way the cloak effect does it will cause the refract texture to bug out

secondly theres this issue
image
this happens because despite not being culled by the refract texture, its still on top of it, causing a very slight difference

here is a comparison showing the slighty different resolutions due to the refract texture being on top in one
image

somehow fixing this issue would make the effect almost seamless

i should also note that this effect would be incompatible with the white ghost effect people have been wanting

overall if this was implemented, imo it would work best as a global setting controlled by the user, in the same vein as lighting override

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New
Development

No branches or pull requests

2 participants