#(kristouffe) Light emitting hats questionning

18 messages · Page 1 of 1 (latest)

worthy escarp
#

Hi,
I really don't know if this is achievable with denizen or if this is a shader question but here we are.

Players are currently able to put any block they want as hat on their head. (CMI feature so far).
I was wondering if it was possible to make these blocks (at least those who naturally emit light) luminescent, something like a headlamp.
I know That my shader allows me to do that for handheld light items (dynamic handheld lighting) but this is shader related.

So can we somehow achieve this with Denizen? Make a block as hat emit light?
I currently have no clue where to start.

spare shoreBOT
#

(kristouffe) Light emitting hats questionning

spare shoreBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

misty geyser
#

Yeah you can do that

#

There is a fork of monkeys Torch light script which replicates what the shaders do

#

you could modify it slightly to get the result you want

#

or get the idea of how you could create your script

worthy escarp
#

wow thank you so much, couldn't expect better. So I modified the script so that when I have a light as helmet it emits light. But is there a way I could smooth this a bit more to avoid this flicker effect as in the second video. Do you have any ideas how I could get a result as in the first video?

hexed timberBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@worthy escarp

worthy escarp
#

Well there was a question 😅

drifting gyro
#

oh, sorry, i missed the question -

#

light is a bit wonky doing it outside of shaders

#

youre going to unfortunately have that flicker

#

but, from my personal opinion, i think the eery flicker looks both realistic and cool

worthy escarp
#

ok nevermind 🙂 thanks