SakeTami
x4fab
x4fab

patreon


New car paint shader (one of)

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.

New car paint shader (one of) New car paint shader (one of) New car paint shader (one of) New car paint shader (one of) New car paint shader (one of)

Comments

Pretty. Pretty.

Thanks! It works for a specific material, although could be limited to meshes as well. It’s just some alternative versions of “…_damage_dirt” shader, and materials could be seamlessly switched to them with extension config.

Ilja Jusupov aka x4fab

Really cool ! Some more complexe paints were really missing... i imagine it's affected to objects, so unless a car is has its parts in different objects, you won't be able to affect different paint to different parts ? (if i make sense)


More Creators