Made some extra versions of “smCarPaint” shader, for some special skins: one for chameleon effect, one for some rainbow-reflecting wrap (reference: https://i.imgur.com/yOUQVjW.png), one for rainbow speculars (reference: https://i.imgur.com/dI32nOK.png, that one is very strange), plus an option for metallic reflections, allowing to create car paints looking like gold (reference: https://i.imgur.com/oQD1TLz.png).
Also, now it’ll be much easier to create new configs, as parser now supports templates, can solve simple expressions and so on. Here are docs, but it’s not really something to bother with, important thing is that allows to create some new common files and use them in actual car config like so:
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = Carpaint
[Material_CarPaint]
ClearCoatThickness = 0.08
[Material_CarPaint_RainbowChrome]
Skins = silver
That should solve a few problems, making configs easier to prepare and allowing to make changes in shaders easier.
Ilja Jusupov aka x4fab
2019-05-24 00:10:44 +0000 UTC