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

Fixes 2D/CV lighting issue #2515

Merged
merged 1 commit into from
Feb 26, 2015
Merged

Fixes 2D/CV lighting issue #2515

merged 1 commit into from
Feb 26, 2015

Conversation

bagnell
Copy link
Contributor

@bagnell bagnell commented Feb 25, 2015

Partially fixes #1825, at least what was discussed on the forum. You can test with the GeoJSON Sandcastle example in 2D/CV. The code example in #1825 definitely has other issues. The fix is in phong.glsl. The rest is clean up (varying normals need to be renormalized before use).

@pjcozzi
Copy link
Contributor

pjcozzi commented Feb 26, 2015

Agreed it is not a complete fix, and is slightly jarring at the end of the morph, but definitely an incremental improvement.

Please update the forum post and let them know this will be in 1.7.

pjcozzi added a commit that referenced this pull request Feb 26, 2015
@pjcozzi pjcozzi merged commit e9d2221 into master Feb 26, 2015
@pjcozzi pjcozzi deleted the lighting-2D branch February 26, 2015 01:56
@mramato
Copy link
Contributor

mramato commented Apr 6, 2015

This issue has seem to have returned. 2D with the GeoJSON example in master is exhibiting the same bug that this PR originally addressed

@mramato mramato mentioned this pull request Apr 15, 2015
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.

Strange 2D full map lighting
3 participants