You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
The text was updated successfully, but these errors were encountered:
1vanK
changed the title
Specular must not know anything about position of directional light source
Specular is incorrect for isometric camera + direct light
Apr 11, 2022
I've got me thinking... Yep, I think you are right.
Eye vector should be a vector from screen to object, which is the same as "cCameraPosPS - vWorldPos.xyz" for perspective matrix, but should be just "camera direction" for ortho.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: