sp614x / optifine

1.8k stars 418 forks source link

[Suggestion] Textures based on Light Level #1720

Open JadeMonsuta opened 6 years ago

JadeMonsuta commented 6 years ago

So I was brainstorming the idea of a resource pack that tries to accurately emulate alot of the limitations of the Nintendo Entertainment System, and I had the thought that it would be interesting if we could utilize light level as a value we can check for through CTM.

Alongside this, maybe also a check for the time of day?

sp614x commented 6 years ago

Time of day is not possible, because time doesn't trigger chunk reloads. Light levels could be added. However they would not change when switching day/night so day/night effects would not be possible. Possible would be underground check, torch lit check, etc.

sp614x commented 6 years ago

Day/night/weather effects would be possible with #993 and #812.

JackDotJS commented 6 years ago

How would "underground check" work?

sp614x commented 6 years ago

For example: skyLight=0-4 is underground torchLight=7-15 is lit by torch

JadeMonsuta commented 6 years ago

I'd love to see this implimented ASAP

JadeMonsuta commented 6 years ago

Also, you may want to keep in mind the night vision potion effect when implementing this, as obviously it would be necessary to be able to see what you're doing in the dark.

darthvader45 commented 6 years ago

I'd love to see support for Serene Seasons when using a resource pack, as I love the changing colors of the leaves.