Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3d] fix shading of 3D point symbols
The vertex shader was incorrectly transforming world position and normal vectors for phong shading. This was causing wrong appearance that was noticeable when moving/rotating camera (e.g. specular reflection was always in the same place). This was caused by involving view matrix (i.e. camera position and orientation) to the vectors, but the world position and normal should be independent from camera.
- Loading branch information