#changing light block level

1 messages · Page 1 of 1 (latest)

worthy frigate
#

Hello, so i'm planning on generating high-up floating islands throughout my world, and while they wont be everywhere they will be somewhat common

The issue with this is that it creates block shadows below, and the best way to fix it is with light blocks.
However, at night time this creates the opposite issue where the area is too bright.

Is it feasible to generate 1 light block below each of these structures and then change its light level value based on the time of day? There would have to be like 100s of them throughout the world.. that would probably lag if i kept changing the block data of all of those right?

If anyone has any ideas for how to get around this issue or do this without lagging my server, I would be very glad to hear! Thank you

south owl
#

idk

worthy frigate
#

💀

snow gust
#

if you just had a light value of one for each light block, would it be too dark during daytime?
is your goal just to hide the shadow during the day but make the light not visible during the night?

worthy frigate
#

i just tested that recently

#

yeah its just to hide the shadow during day and not visible at night

#

thing is the world goes through different stages of light

#

throughout the day

snow gust
#

that sounds like a ton of effort to constantly map the game time to a certain light block level
while it is quite possible to do this, it’ll take a while and i can’t think of anything to disable shadows in a certain area
is this a shadow glitch (like you can place a block and it’ll disappear) or is this just a shadow due to the islands being close to the ground?

worthy frigate
#

well something that disables shadows is surpressing light updates

#

except thats a whole other thing and would probably be equally as laggy and far more difficult

#

also once a player places a block near there i am pretty sure it would revert back to the shadow

snow gust
#

yeah not really sure if this is possible, never done something like this before
additionally players on different clients (lunar, feather, etc) can set the time of the client world to any value which could look odd with time and light level mapping

worthy frigate
#

meh i wouldnt really care about players using those clients

#

not only would they be a minority since this is not a pvp server (lmao) but trying to work around every single type of client like badlion/lunar/feather would be ridiculous

#

i am probably going to try something like this

generate floating islands made of string blocks
when block below player is a string block with the custom texture thing, set it to a custom noteblock texture
make sure the noteblock & string block have the same texture so it looks seamless
after like 5 seconds, revert noteblock back to string block
if the player breaks either of them, they poof into clouds to avoid that hassle