I got an issue with a car that I converted. This car is a McLaren from rFactor 1 and while the car looks normal at the start of the race, it gets some odd black texture after it is hit or drives into something: Before: And after a collision, this happens: Does anyone know what causes this, and how it can be fixed? Thanks in advance.
Did you lose some body panels in the collision and perhaps the car is now showing the collision object, often a roughly car shaped object, that is not usually rendered.
The car hasn't lost any parts. Only the front wing and the rear wing can come off. I assume this collision object is rendered, and it can be disabled in the car's .gen file?
Go to material editor and check Carbody Shader settings for damage. Probably it have black texture for damaged parts
Hm, I still don't know how to fix this. It happens when the car collides with another car, so it is probably some kind of triggered bug.
What's the shader associated with the body? Is there a damage map? Check also the UV Mapping of the channel associated to the damage map if any.
It looks like this. What do I need to change? The car does not have the black parts when the race starts. It shows up when the car collides with something - either another car or the catch fence. The black parts are graphically tied to the suspension, too. They use the same material.
Cause n°1: Your 9x_body_damage.dds is a real texture with scratches or only black? Cause n°2: Click on the "Edit Channel Textures Coordinates" icon on Material Edit menu - then "Scale UV" - then "Scale/Offset UV Channel 1" and then check if Scale U & Scale V are already with 1.0 value. If not put 1.0
I tried both, but neither fixed the problem. The "9x_body_damage.dds" is a texture with scratches. Thanks for the tips, though.
Yes your Channel 3 is full black, a bit strange I guess, try maybe something grey. If it's still doesn't work, maybe try the shader "Car body paint + damage + rain"
@SharD On your Screenshot, i see the Texture 32x32flatn.dds in Channel 3. Is that maybe a Bump Map? If yes, replace it it with a spec Map. I would suggest to use the Set of Textures from another Car, where it works properly and check if that works for your Car too then. If yes, you can replace Texture by Texture, to find out where exactly the Problem is. I hope that helps.