Jump to content

Custom sun texture not being rendered / aligned properly


Recommended Posts

I have a custom sun for one of my dimensions, but instead of the texture being positioned in the center, it's positioned in the corner and only shows a portion of the full texture. I'm somewhat familiar with GL11 rendering, but this is something that I can't quite figure out, and I've looked over it multiple times.


Here's a screenshot: https://imgur.com/bPDuxvs

SkyRenderer: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/BoilSkyRenderer.java

Resource Location: https://github.com/TheSlayerMC/Journey-1.12/tree/master/main/resources/assets/journey/textures/environment


Any help is greatly appreciated.

Edited by Dizzlepop12
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.

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.


  • Create New...

Important Information

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