Home Creators Posts Import Register Favorites Logout

Content

Had a bit of fun experimenting with tracing rays in a special shader, and I have to say, results look better than I expected! Quite noisy without TAA or post-processing AA though. And I used to struggle a lot trying to find a way to make headlights on Peugeot or Morgan at least somewhat acceptable, couldn’t find any good solution though.

Although, about that, this thing won’t help Peugeot, Morgan and similar cars much. It works, but for it to work nicely, in needs some very good normal maps. Not a lot of Kunos cars have those, even some of newer ones don’t. And with normal maps generated from a photo (how I used to do them), it just looks like some plastic bag wrapped around.Thank you for all the support!

Files

Assetto Corsa - Refracting headlights

Extra small feature for some of those, usually older, cars with highly refractive headlights. There are a lot of beautiful models, but with original AC shaders headlights do look a bit upsetting. This addition helps headlights look more natural and it doesn’t add any passive costs (unlike some post-processing effect would), and is pretty cheap to calculate in general. In case you have some extra money and would want to support the development: https://www.patreon.com/x4fab

Comments

allensakura

Is it can make new internal glass reflection? Now it's just a texture and most of mod cars don't have good texture.

Ilja Jusupov aka x4fab

Replace normal map or even whole shader? CSP already allows to do that with extension config, although for now there is no way to include it with CM’s auto-downloads, still thinking about that one. But SHADER_REPLACEMENT_… sections in extended configs can replace shaders, properties and textures for meshes or materials

VIOLENT

Can I have the method and program?