stSpecular Tutorial

Misc stSpecular Tutorial 0.1

Login or Register an account to download this content
Stereo submitted a new resource:

stSpecular Tutorial - How to use stPerPixelMultiMap_specular & interactive app

View attachment 719255

Intended Audience:
This tutorial assumes the reader has experience making skins for Assetto Corsa. You should know how to find the txDiffuse, txMaps, txDetail texture names for the mod, and produce replacements in a skin folder. You should be familiar with your 2D image editor, managing the alpha channel of txDiffuse to mask off detail textures, etc.

Installation & Launch:
Extract the contents of the 7z file as a car...

Read more about this resource...
 
This is a very nice resource. Unfortunately i couldn't make the App to work with other cars than the oneweek_stspecular that comes with the donwload.

I started with the ks_ford_escort_mk1, pasted the extension folder and its contents in cars\ks_ford_escort_mk1\skins\yellow_black\extension

At the ext.config, I changed the following lines
[SHADER_REPLACEMENT_...]
DESCRIPTION = carpaint
MATERIALS = EXT_Body_paint // Got it from the showroom
SHADER=stPerPixelMultiMap_specular

So,, does this means that it will take the shader from EXT_Body_paint and override it to a stPerPixelMultiMap_specular shader?

If yes, whats next? Do i have to play with the Lua Script in order to see it on the game and play with the values?

Thanks
 
Yes, as well as the [SHADER_REPLACEMENT...] material change, you'll need to change line 6 of the lua script to be "material:EXT_Body_paint" for it to find the relevant objects.

Only other caution I can think of is it's better to be loading the game with a single-colour livery, otherwise diffuse texture might not be blank in the ways the script needs.
 
Last edited:
Yes, as well as the [SHADER_REPLACEMENT...] material change, you'll need to change line 6 of the lua script to be "material:EXT_Body_paint" for it to find the relevant objects.

Only other caution I can think of is it's better to be loading the game with a single-colour livery, otherwise diffuse texture might not be blank in the ways the script needs.
Thanks for your reply. I managed to make the App work (not only the app, also the material swapping/override when inspecting the car with Object Inspector App)

imagen_2024-01-11_231047544.png
but only when putting the extension folder at the root of the car´s folder.
This obviously change the behaviour over all the car´s skins.
My understanding was that material swapping works at skin level but your demo also has the extension folder at car´s root level and not at skin level. What im missing here?
Thanks
 
Last edited:

Latest News

What is the reason for your passion for sim racing?

  • Watching real motorsport

    Votes: 131 66.8%
  • Physics and mechanics

    Votes: 86 43.9%
  • Competition and adrenaline

    Votes: 88 44.9%
  • Practice for real racing

    Votes: 37 18.9%
  • Community and simracers

    Votes: 56 28.6%
Back
Top