1ee1b0d84f
Dont zwrite decal shaders
2020-06-01 21:27:36 -07:00
cffc35d17a
Fix ForwardAdd overlap in shader
...
This requires some code change to actually work (the material Queue also needs to be updated dynamically)
2020-05-31 18:25:29 -07:00
824e48620a
update shader to disable culling
2020-05-30 23:09:53 -07:00
353dc61ebd
Rename wrinke texture
2020-05-25 20:34:55 -07:00
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
8382a97b72
I guess that doesnt do anything. odd
2020-05-24 16:16:17 -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
0444b33613
Rearrange DecalProjector so Unity sees it
2020-05-23 22:10:51 -07:00
282dcd6f48
Remove debug code so it actually works
2020-05-23 22:10:27 -07:00
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
2020-05-23 21:52:39 -07:00
8594b8bf28
Fix formatting in DecalBack.shader
2020-05-23 21:18:43 -07:00
6a25472d9c
Backside shader
2020-05-23 21:16:00 -07:00
f95a8d909c
Add more textures
2020-05-23 21:12:12 -07:00
d4e7b57427
Add test textures
2020-05-22 16:42:33 -07:00
cfeaab6f27
Reorganization to work with Unity project
2020-05-22 15:09:20 -07:00