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
Lens flare, now without that unneeded code #244
Conversation
Wow, this came out of nowhere! Any images? Also, I am particularly interested in learning more about what conditions would draw the lens flares. And can modders specifically assign different lens flare textures to different light sources? Regarding customizable per-actor lens flares, IMO it should be definable inside GLDEFS, in similar fashion to how one would assign brightmaps or dynamic lights to actors. It should take some parameters: the texture to use, the 3D offset of the lens flare, the distance before it fades out. And maybe some other parameters too, like how intense the brightness of the lens flare is (the user CVar would just be multiplier then) Also, is it possible to create an infinitely-distanced lens flare for eg the sun? I made lens flares using ACS and HudMessage (uggglllyyyy hack) and I was hoping shaders would allow me to get rid of my ACS! (Demo video here : https://www.youtube.com/watch?v=E-1wW0pAp5Y ) (everything in that video is faked using ACS and HudMessage... no shaders. I don't know how to write shaders) |
@coelckers @nashmuhandes Demo video here : https://youtu.be/TrlogN1Y1uo . That shitty space suit effect can be fixed (yeah, i haven't fixed that yet!) by changing two lines of code. The lens flares are fully rendered by the shader which processes image from screen and adds flares to the light parts. |
I honestly don't know what to make of this. While it's certainly interesting from a technical point of view, the entire effect feels far too intrusive even on the lowest settings, |
Exactly. Lens flare is cool as a temporary effect used in suitable places by level/mod author. Although as a permanent post-processing one it's pretty annoying IMHO. |
And if merged, it should be more professionally written too. |
In its current state I see no point to merge it. The effect, even with all sliders at the left is too strong - and to the right it's utterly overblown. I started a thread at the forum to get some more feedback but I strongly tend towards closing the PR. |
@usernameak I've left some feedback on the forum too, hope you can check it out when you have time, thanks |
The overwhelming consensus was not to use this feature in its current state. |
I think you'd be better off making proper flares using the unused "flare" property for dynamic lights in GLDEFS. |
No description provided.