Jump to content

[1.15.2] Skybox for Custom Dimension


Megaton_216_

Recommended Posts

2 minutes ago, Megaton_216_ said:

What do I need in that method?

Well, first you would create you own IRenderHandler, which would render the sky. To get an idea of how vanilla does it, you can look at the renderSky() method in the WorldRenderer class. Then you would use setSkyRenderer() in your Dimension class to set the renderer to your custom IRenderHandler.

Link to comment
Share on other sites

On 9/8/2020 at 2:34 PM, vemerion said:

Well, first you would create you own IRenderHandler, which would render the sky. To get an idea of how vanilla does it, you can look at the renderSky() method in the WorldRenderer class. Then you would use setSkyRenderer() in your Dimension class to set the renderer to your custom IRenderHandler.

Wait how does renderSky() help with creating my own IRenderHandler? I'm sorry I just don't get that. 

Link to comment
Share on other sites

7 hours ago, Megaton_216_ said:

Yeah lol but how? 

I am not sure exactly what you are asking. My suggestion was that you look at the code in renderSky() to get an understanding of how vanilla Minecraft does the sky rendering. You can then use this newfound knowledge to implement your own custom sky rendering.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.