561b3778ad
First compile
2020-05-30 14:24:31 -07:00
8cd456f16e
Documentation and cleanup
2020-05-30 13:46:03 -07:00
e504936896
Add projection and loading functionality
...
ModuleConformalDecal is now, theoretically, sorta working
2020-05-30 13:36:10 -07:00
0b34991f34
Print parsing errors as exceptions
2020-05-30 00:16:40 -07:00
995c9120e5
Add enable/disable logic to ModuleConformingDecal
2020-05-29 23:26:33 -07:00
d5038e19bc
Use all cameras and rely on layers for culling
...
Also cleanup some stuff
2020-05-29 21:15:33 -07:00
1287e729eb
Add projection logic
2020-05-29 21:02:58 -07:00
bd1a588ff7
Update project file with OrientedBounds
2020-05-29 19:04:38 -07:00
1f92797072
OrientedBounds cleanup
2020-05-29 19:03:40 -07:00
b72fcb07f0
Add struct for OrientedBounds
...
Add OrientedBounds struct with functions for testing intersection with other OrientedBounds
2020-05-29 02:17:49 -07:00
387ba964fb
Documentation and logging
2020-05-27 15:49:17 -07:00
a1745f6e3a
Cleanup and check if material should inherit base normals
2020-05-27 15:43:23 -07:00
a90d24c141
Rename to reflect behavior instead of copying Blowfish
2020-05-27 15:31:56 -07:00
1ed0cfacb7
Add parser for material properties
2020-05-27 15:19:46 -07:00
c0a16e9bbd
Remove redundant type identifiers
2020-05-26 23:08:38 -07:00
645e93611b
Small refactor
2020-05-26 23:05:07 -07:00
84c2107288
Begin writing material data parsing code
2020-05-26 23:04:19 -07:00
6a000c805e
Setup C# project
2020-05-25 20:42:24 -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
01a9f2faff
Commit test code and shaders
2020-05-21 23:38:49 -07:00
f1625b4d62
Initial commit
2020-05-20 23:34:47 -07:00