Commit graph

5 commits

Author SHA1 Message Date
SlamBamActionman
24485c39ee
Change dwarves to use displacement maps instead of sprite scaling (#43816)
* ach, ye initial commit

* Review changes...?

* Change parentage

* Widen the dwarf sprite

* Widen the dwarf sprite

* Solve the murder at the Portermeister Estate

* The rest of the fucking owl

* Fix female displacement, fix the displacement error

* Review changes

* Review fixes

* IPrototypeManager to ProtoMan

* Review changes
2026-07-05 22:17:17 +00:00
ruddygreat
7c2c66571a
Add support for unshaded displacement maps (#34876)
* first commit. helpful commit messages yay!

* incredibly minor cleanup

* hoping this appeases the trailing whitespace check

* helps if you actually commit the files you change

* bring shader in line w/ what pjb's doing in that other pr

* comments about why this is bad

* this seems to magically work now somehow?

---------

Co-authored-by: Ruddygreat <ruddygreat1@gmail.com>
2026-04-05 21:23:52 +00:00
slarticodefast
2ac9948ba0
Handle inventory template updating V2 (#39246) 2025-07-27 23:05:58 +02:00
Pieter-Jan Briers
f5071238ce
Fix displacement map rendering in UI (#38042)
Fix displacement map rendering

918709cb47 changed the way humans work to completely remove the stencil mask thing for clothing cutouts, in favor of displacement maps. Except it didn't actually remove the stencil parameters from the shader prototype, so this caused the shader to render incorrectly in SpriteView instances.

I introduced a new DisplacedDraw shader that doesn't have the stencil in use, as removing the old one would probably be a more annoying breaking change.

Fixes #37629
2025-06-24 22:47:29 +02:00
Ed
918709cb47
Displacement maps big update (#30093)
* split logic into own system

* add support for different size displacement maps

* some clothes may not use displacement maps

* displacement maps spport hand sprites

* Update DisplacementMapSystem.cs

* rename things

* fuck stencilmask

* fix bugs

* no masks

* Update jumpsuits.yml

* fix species specific sprites

* Update ClothingSystem.cs

* shoes + ears displacement, some bugfix

* Update DisplacementMapSystem.cs
2024-07-23 12:04:09 +03:00