Commit Graph

18 Commits (d797a94066df6c640c1be4d16a7b3565bf23ea05)

Author SHA1 Message Date
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 6c20675a99 Get flag module working 4 years ago
Andrew Cassidy 6a5604911d Major refactor, splitting ModuleConformalDecal 4 years ago
Andrew Cassidy 5652f0dda1 small tweaks 4 years ago
Andrew Cassidy eda068cd66 Get decal switching working mostly 4 years ago
Andrew Cassidy 5ddf973a76 Run config parsing after MM is done running
MM is now a hard dependency
4 years ago
Andrew Cassidy 53538a7b09 Add shader blacklist
Add a configurable blacklist of shaders that can be projected onto
4 years ago
Andrew Cassidy 7e520f97ca Refactor material parsing and loading
This should hopefully pave the way for usable module switching using B9PS
4 years ago
Andrew Cassidy 114fc745f0 Revert "Decrement instead of increment queue value"
This reverts commit 2f308c3ab6.
4 years ago
Andrew Cassidy dfd4224ae0 Decrement instead of increment queue value
This is a bit more intuitive since newer decals render over older ones
4 years ago
Andrew Cassidy 6ae598d9f5 Make material handling more intelligent and add incrementing queue 4 years ago
Andrew Cassidy 3e23d8696a Make range and adjustability of tweakables configurable 4 years ago
Andrew Cassidy e4e099618d Fix decal projection being scaled twice 4 years ago
Andrew Cassidy d54887414f Fix part highlighting and the collider disappearing
Completes #2
4 years ago
Andrew Cassidy 91a6613707 Fix transform handling and projection culling
Now to figure out why my collider is disappearing...
4 years ago
Andrew Cassidy 8a056f5c72 Rework bounds culling and colliders 4 years ago
Andrew Cassidy 561b3778ad First compile 4 years ago