-
-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set background color on lightning #2628
Conversation
2023-09-06.15-43-19.mp4 |
2023-09-06.22-35-46.mp4 |
Not sure how far we can go in terms of brighting up the screen, but the flash should be very bright! Perhaps working with something on an "additive layer" would help out. I also think that it looks much nicer if the flash appears immideatly upon lighting strike but then fades out rather than dissappearing instantly again. |
dbed397
to
cac5e9c
Compare
Personally I find the thunder too bright, making it uneasy on the eyes. Would there be an option to turn this off? |
This was Rusty's idea. Battle with him. |
It appears the white surface drawn when lightning strikes isn't even colored white. It looks rather gray. Even when the ambient light is set to r=1, g=1, b=1. Is its alpha value set to 1 when it flashes? |
Ideally, if we get the flash to be white we may not even have to tamper with the ambient light at all during the flash as the blend mode "add" brightens it all up anyways (unless I am mistaking, though that's how it works with a pure white gradient set to "add" and a z-layer of 500). |
It starts at 1 and then quickly levels off to 0. |
Huh, it doesn't look like it though at all. I did notice something else though too. You should remove the stuff related to |
Not sure if that fixes all of it though since the white surfaces appears as not white even in a fully bright sector too. |
This is how it is supposed to look like. To give you a visual reference! shocking_lightning.mp4 |
f62ddbc
to
f8507bd
Compare
2024-01-28.17-20-08.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this code could be much better, but this works
In what way could the code be better? |
1ce0b1b
to
9d72c02
Compare
2024-03-02_17-35-20.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There we go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codewise looks good.
Fixes #1243