Commit Graph

4 Commits (7d9d377575ff6aac58561c670c8716314386700a)

Author SHA1 Message Date
Alexei Kotov f83a7b711a Don't handle per-vertex normals as tangent space normals 1 year ago
Alexei Kotov 93ea9dbc3b Do all lighting calculations in one place, support per-vertex specularity
Force PPL when specular maps are used
1 year ago
Alexei Kotov 4a96885323 Untangle normals and parallax handling
Move tangent space generation to the vertex shaders
Support diffuse parallax when no normal map is present
Don't use diffuse parallax if there's no diffuse map
Generalize normal-to-view conversion
Rewrite parallax
1 year ago
Cody Glassman ac4787aeec shade refactor 2 years ago