However, my cloud do not disappear in the distance.
Moreover, translucent blocks in the foreground are not visible.
The picture shows the both problems:
For one, you're specifically using the RenderWorldLastEvent, which is fired after blocks have been rendered. That's why it renders on top of blocks with similar GL settings. Also Alpha blending is not very well-done in Minecraft, as you can see if you look at - for example - water blocks behind tinted glass.
Also, is your mod id actually 'mod' ? You should change it to something that is more likely to be unique...
Rollback Post to RevisionRollBack
Click this banner for a list of illegal mod distributors -- only download from legal sites!
The Meaning of Life, the Universe, and Everything.
Location:
S-Pb
Join Date:
8/10/2015
Posts:
69
Member Details
Water and colored glass using renderPass = 1 and they can see through each other.
How can I render a transparent plane (my clouds) using a renderPass = 1?
Hello everybody!
I'm trying to duplicate the standard cloud.
Is the following code (90% vanila):
However, my cloud do not disappear in the distance.
Moreover, translucent blocks in the foreground are not visible.
The picture shows the both problems:
How can I fix it?
I do not speak English well. Be forgiving.
For one, you're specifically using the RenderWorldLastEvent, which is fired after blocks have been rendered. That's why it renders on top of blocks with similar GL settings. Also Alpha blending is not very well-done in Minecraft, as you can see if you look at - for example - water blocks behind tinted glass.
Also, is your mod id actually 'mod' ? You should change it to something that is more likely to be unique...
Of course not. The name "mod" I took as an example.
But what can I do?
I need that to my clouds looked like a vanila clouds.
I do not speak English well. Be forgiving.
By the way!
If I write this:
Clouds look normal. No matter what event is fired after blocks have been rendered...
I do not speak English well. Be forgiving.
Water and colored glass using renderPass = 1 and they can see through each other.
How can I render a transparent plane (my clouds) using a renderPass = 1?
I do not speak English well. Be forgiving.