Dizzlepop12 Posted March 28, 2019 Posted March 28, 2019 (edited) 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 March 28, 2019 by Dizzlepop12 Quote
Dizzlepop12 Posted March 30, 2019 Author Posted March 30, 2019 (edited) bump? i stepped through the code and can't find the problem. Edit: The celestial angle was wrong and I was actually looking at the moon and not the sun. Oops Edited March 31, 2019 by Dizzlepop12 Quote
Recommended Posts
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.