Skip to content
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

In ShaderLesson6 the GLSL Breakdown, should pass to gl_FragColor #11

Open
FreeBlues opened this issue Aug 5, 2016 · 0 comments
Open

Comments

@FreeBlues
Copy link

In ShaderLesson6, section GLSL Breakdown, the last sentence, the description makes a error, it should be gl_FragColor, but it is written to gl_FragCoord

Next, we calculate the Intensity and FinalColor, and pass it to gl_FragCoord. Note that we keep the alpha of the DiffuseColor in tact.

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

No branches or pull requests

1 participant