Skip to content

Make fogColor in the fog tutorial a parameter#5672

Open
devel60-alt wants to merge 3 commits intoraysan5:masterfrom
devel60-alt:master
Open

Make fogColor in the fog tutorial a parameter#5672
devel60-alt wants to merge 3 commits intoraysan5:masterfrom
devel60-alt:master

Conversation

@devel60-alt
Copy link

Pretty self explanatory, now the fogColor vec4 in fog.fs can be edited from code. I wasn't sure though if I should have converted the output of ColorNormalize to a float* like ambient used to be (most likely with another function, but I don't think it would have been necessary), so I decided to make them both Vector4's for consistency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant