Commit Graph

7 Commits

Author SHA1 Message Date
dc25576911 Add specular paint shader 2020-05-25 10:35:32 -07:00
8ca3925e04 Move projection code into shared library 2020-05-24 18:16:23 -07:00
f630fb2215 Revert world-space normal change and write paint shader
• Revert previous change to compute world normal in the surf function, was unnecessary for edge wear effect
• Rewrite paint shader with new library
• Allow for texture scaling and tiling in decals
2020-05-24 18:09:03 -07:00
289988cf11 Compute world-space normal in programmable portion of the shader 2020-05-24 16:48:37 -07:00
b10660cc2c Shader fixes and cleanup 2020-05-24 16:05:29 -07:00
bd83729e5a Enable multi-pass forward rendering 2020-05-24 11:41:09 -07:00
03b647560e Shader cleanup and use KSP's Blinn Phong BRDF 2020-05-24 10:46:50 -07:00