- 107
- Germany
- FrontLeader
I'm stumped, the code which directs the Bayro's dashboard to cast shadows doesn't work. It worked once, but when I changed a line of code below it, it breaks. I'm not sure if its something to do with the formatting or the mesh itself.
[SHADER_REPLACEMENT_...]
MESHES = hd_cpit_alcantara
CAST_SHADOWS = 1
DOUBLE_FACE_SHADOW = 1
DOUBLE_FACE_SHADOW_BIASED = 1
Am I doing this wrong?
Edit: The shader replacement code ninja'd and oddly worked again
Edit 2: It suspect that the ext_config code in the main car directory is clashing with the other config files in the custom skins (those without the lumirank code works fine), causing the shadow glitch.🤔
Edit 3: Thought so! Go in to your downloaded skin folder's ext_config file and if you see this line (default URD skins is free of this issue):
[SHADER_REPLACEMENT_...]
MATERIALS = LED_Panel
SHADER = ksPerPixelMultiMap_emissive
FILL_MISSING_TEXTURES = 1
PROP_... = emSkipDiffuseMap, 1
PROP_... = ksEmissive, 200, 200, 200
You can either delete this line, or tell CSP to ignore the code with semicolons. It's the very same line of code in the default config file URD made.
I'll share this with you folks and let me know whether it works on your end. That said, I've made some new CSP additions and adjustments to the Bayro:
- DRL and Tail lamp now stays on, like this
and- Steering wheels buttons are now illuminated
- Dashboard now casts shadow
- Added new normal texture for the exhaust pipe, now with a textured look
- Updated headlight texture, illumination and PBR
- Updated tyre material properties
- Added brake disc FX
- (data.acd edit) RPM LEDs now rise from edge to centre, green, yellow and red. Though, I'm not sure how to make all of them blink red at rev limit.
Please do make a backup of the original extension folder and data.acd
This is great! Thank you 👍