Commit Graph

11 Commits (b24a2c1bbe5936d4aada2236bc1e53b349eeb541)

Author SHA1 Message Date
Andrew Cassidy b24a2c1bbe Add SDF shaders 4 years ago
Andrew Cassidy 86f68b3bf8 Hopefully fix decals when used with certain parts 4 years ago
Andrew Cassidy 2cae31b20f Fix icon color when disabled in VAB menu 4 years ago
Andrew Cassidy 5376611eae Decal shader changes, try to fix lighting additive pass 4 years ago
Andrew Cassidy 5560eee368 rename background color property to make KSP happy 4 years ago
Andrew Cassidy d797a94066 Rework back shader and textures, add flag 4 years ago
Andrew Cassidy e9c8f3dafb Big refactor to enable preview materials
• add shader variants for decal previewing
• start to add code for part icon
• refactor material properties to be serializable
todo:
• fix decal preview scale (need to call UpdateScale on detached state)
• fix texture preview in part icon
• adjust culling per-object when rendering (turns out cull and ztest values are used by unity at the render time, not by the shader itself, so they can be adjusted in material property blocks!)
4 years ago
Andrew Cassidy 1ee1b0d84f Dont zwrite decal shaders 4 years ago
Andrew Cassidy cffc35d17a Fix ForwardAdd overlap in shader
This requires some code change to actually work (the material Queue also needs to be updated dynamically)
4 years ago
Andrew Cassidy 051e1d3c7a Shader tweaks to work with negative meshes 4 years ago
Andrew Cassidy 3c8f102f5d Add game assets 4 years ago