hey @WoofWoof, I’m making a game that uses raycasting for a flashlight but I can’t seem to get the shader ramp to work or the light to actually stay in the middle. Here it is if you wanna edit it:
I solved this problem for someone 5 posts above yours! Please read the whole thread next time:
About the shader ramp, it looks like everything is correct. Unfortunately that probably means that these two extensions are not compatible. It appears that the Multilights code “sees” the screen as being all transparent, and cannot see the colors. You can see this if you change the ramp for color 0 (transparency) to other colors. Sorry!
aww man
I read the whole thread and followed what you said but it just didn’t work so I asked.
Ohhh ok then, I’ll look at it more when I get home.
I don’t know if this topic counts as dead or not, but I really want to know if you’re able to use a different pallete at the same time. For example, a lantern light source where the inside is arcade pallete and the outside is something like sweet or smth.
The screen can only handle 16 colors on the screen at a time, so it would have to be that, added up, the two pallets only used 16 colors at a time combined. It’s certainly possible to have stuff like using one color as 2 as long as it isn’t ever on the screen as both colors at the same time. I think it would be very hard and would require a specific art style to pull off, as well as a very good understanding of which colors are on the screen at the same time.
Alright, thanks!
Oh, also is it in any way possible for a certain sprite not get affected by the darkness? I’m making a game with an inventory, and I need you to be able to see it when the lighting is on.
Yep! Looks like the extension shades the screen at z level 91, so as long as your inventory renders at a higher z level it shouldn’t get shaded!
Yeah I’m gonna need a link for this one…
here ya go
I’m trying to make the circle light slowly get smaller and smaller kinda like a fading effect since that’s what I did before I added a torch. (I made the colors fade to a darker version)
Laggy! Ohno!
Who could have guessed that the seed 0 would spawn all trees!
The error is happening because those numbers are going negative and they shouldn’t do that! Try this instead:
The lag is happening because you set your circle size REALLYY big, so you’ll want to make it smaller to avoid that. You could just make the centerRadius big and leave the bandWidth small to cover the whole screen and still avoid this issue.
I like seed 0 since it does that too!
hmm, still not working?

