sp614x / optifine

1.79k stars 418 forks source link

[Help needed] How to use McPatcher sun.properties and moon_phases.properties? #1172

Open lolmetimbers opened 6 years ago

lolmetimbers commented 6 years ago

https://github.com/sp614x/optifine/blob/master/OptiFineDoc/doc/sky.properties

_"Additionally, two special properties files are applied to the sun and moon if present. This is mainly intended to allow you to override the blend method used by the sun and moon. ~/sky/world0/sun.properties (replaces sun.png) ~/sky/world0/moon_phases.properties (replaces moon_phases.png) Instead of a full skybox, the source texture should match the layout of sun.png or moonphases.png."

Can anyone please help me get this feature working? I want to replace the sun.png with a custom.png file for different world0,1,2 etc so that each dimension/world has a different sun/moon.

In my sun.properties file I have added the line source=./sun/sun.png where sun.png is my own image for world3. What else do I need to add?

The documentation is unclear to me in how to assign a new sun or moon_phase.png. Please help!

Xaphiosis commented 5 years ago

It doesn't seem sun.properties or moon_phases.properties is parsed, despite what it says in the documentation. I was trying to make it so the moon does not appear below the horizon on a skyblock map and found these files have no effect. If you make your sun.png transparent in the minecraft resource pack, you can then use whatever optifine texture you like and move it like you would the sun. If you check out "Above The Clouds Realistic Sky (By Fire Eagle)", you'll see this trick used.

To emulate the moon, we'd need some ability to use different textures based on moon phase, and optifine does not support that either

JetpackRescue commented 2 years ago

Can we get this fixed so it works?

darchitectlp commented 1 year ago

Has anyone gotten this to work? Also, is there anywhere the blend modes are listed that we can choose from?