Commit Graph

61 Commits (da4c780ce682d89838f5910c99edf12d9b32b79a)

Author SHA1 Message Date
Andrew Cassidy b10660cc2c Shader fixes and cleanup 4 years ago
Andrew Cassidy bd83729e5a Enable multi-pass forward rendering 4 years ago
Andrew Cassidy 03b647560e Shader cleanup and use KSP's Blinn Phong BRDF 4 years ago
Andrew Cassidy 0444b33613 Rearrange DecalProjector so Unity sees it 4 years ago
Andrew Cassidy 282dcd6f48 Remove debug code so it actually works 4 years ago
Andrew Cassidy da6d72b0e7 Simplify decal library
• Instead of splitting between two cginc files, declare the surf function without defining it in DecalsCommon.cginc and only include that.
• Add queue value to shader so that doesnt have to be defined automatically. Also add z-offset
4 years ago
Andrew Cassidy 8594b8bf28 Fix formatting in DecalBack.shader 4 years ago
Andrew Cassidy 6a25472d9c Backside shader 4 years ago
Andrew Cassidy f95a8d909c Add more textures 4 years ago
Andrew Cassidy d4e7b57427 Add test textures 4 years ago
Andrew Cassidy cfeaab6f27 Reorganization to work with Unity project 4 years ago