-
Notifications
You must be signed in to change notification settings - Fork 1
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
I made a simpler alternative for Godot 4 #3
Comments
👍 (I will keep this open - this whole repo is from times when I had spare time 😩 ) |
EDIT: this is no longer true. @unfa created new repository and licence is no longer problem for
|
Ah, sorry. I forgot to mention the project licensing. I could relicense this shader under MIT so anybody can copy+paste without hassle. If there was a Godot 4 asset library I could put it there. I guess I could make a separate repository with MIT-licensed resources that won't limit usage in any way. The game licensing uses AGPL and not GPL because that requires server-side software to also have source code available. |
I'm making a new repository licensed under MIT, I'll replace the links and clean up when that's done. |
@kondelik I've updated the link to a new repo I made that's licensed under MIT: |
I think there is no need, I made Edit to my comment. I will keep this issue open forever, bcs as I said, I dont have time to keep this repo up to date. |
Hey! Sorry for putting this here as an issue - I thought it could be nice for people who look it up to also see this.
I've made a similar effect for Godot 4 using visual shader, though I think it looks pretty decent despite being simpler. It's not synthesizing the noise for each frame,, instead it uses a 256x256 pre-generated noise texture. If you'd view the effect at 100% intensity it'd be obvious, but at a small factor it makes sense to use it, the compromise is completely invisible:
I'm also simulating the difference in grain size of red, green and blue components of the film and applying offsets to these components making the grain colorful if desired - it can be controlled with a Saturation parameter.
Here you can get the material and a scene with a ColorRect that makes it work:
https://codeberg.org/unfa/Bits4Godot4/src/branch/main/Assets/FilmGrain
The whole Bits4Godot4 repo is licensed under MIT.
The text was updated successfully, but these errors were encountered: