Skip to content

Conversation

@yaRnMcDonuts
Copy link
Member

This PR addresses this issue: #2363

@yaRnMcDonuts
Copy link
Member Author

yaRnMcDonuts commented Feb 8, 2025

I also removed a line of code that listed the author of the fog where it gets implemented in Lighting.frag.

Crediting the author of each individual feature or code segment throughout a fragment shader does not seem like a good practice and would quickly make the file cluttered with unnecessary comments if more people did this.

And it is ultimately unnecessary considering github already keeps track of who made each commit.

But to ensure they still are credited for their work, I added a comment at the top of MaterialFog.glsllib listing them as the original author of this feature.

@stephengold stephengold linked an issue Feb 8, 2025 that may be closed by this pull request
@stephengold stephengold added the bug Something that is supposed to work, but doesn't. More severe than a "defect". label Feb 11, 2025
@yaRnMcDonuts
Copy link
Member Author

I plan to merge this PR in 24 hours.

@yaRnMcDonuts yaRnMcDonuts merged commit becdf50 into master Feb 17, 2025
15 checks passed
@stephengold stephengold added this to the v3.8.0 milestone Feb 22, 2025
@yaRnMcDonuts yaRnMcDonuts deleted the yaRnMcDonuts-patch-6 branch February 24, 2025 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something that is supposed to work, but doesn't. More severe than a "defect".

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compile error in Common/MatDefs/Light/Lighting.frag

3 participants