A Hat in Time

A Hat in Time

Retro Badges
奖励
收藏
已收藏
取消收藏
Collectible: Badge
Availability: Available Instantly
Asset Replacement
文件大小
发表于
43.481 MB
2019 年 3 月 16 日 下午 9:56
1 项改动说明 ( 查看 )

您希望看到这件物品在《A Hat in Time》中被官方采纳并支持吗?

是的
不,谢谢 /
不感兴趣
稍后
再询问我
描述
Games today have too many colors, I only want four of them!



Retro Badges is a collection of 2 Badges and 2 camera filters that aim to replicate ye olde consoles of yore. Either line up the perfect shot using the camera badge, or equip one of the two retro badges and experience these pixelated visuals on the go!




INFORMATION FOR DEVS



Both retro filters need two separate shader passes to work properly; one for the colorization and edge detection, and another for pixelation. To get the pixelated effect working in the camera filters, an extra check would need to be added that toggles Xara_Pixelation in the postprocess chain whenever one of these filters is selected. (unless I'm dumb and that's already possible without digging deep into parent classes)



The mod adds a total of 3 new MaterialEffects to the current postprocess chain, the assetreplace version that I've added should indicate how these MaterialEffects should be added.



The base material for the colorization filter comes with a bunch of parameters that allow for plenty of customization should you want to add more color palettes. Color sets, color thresholds, edge thresholds/offset size and color grading can all be adjusted through instance parameters.