Normals texture rendering very differently in CMshowroom vs ingame.
When I am creating a skin or updating a material in CMshowroom,the raised/lowered effect from a normals texture is very different from what I see ingame.
I frequently have to flip the y channel and or rotate it to work properly ingame.(using the photoshop action located in Assetto Corsa sdk folder)
For instance gloves.If I export the normals texture from a set of gloves,ingame the results will be completely wrong.Raised where it should be lowered and vice versa.Inverting the y channel in photoshop will sometimes get it to react to light correctly but even then sometimes you have to rotate a channel to get the now correctly raised areas to render hilights and shadows from the correct direction.
Its a mess honestly.I have spent days just to get a clear handle on this and I'm still not certain I have it right. Another example is the crewmans face.Incorrect rendering of the normals texture makes him look hideous in some lighting situation.(because the normals are fighting the AO)
I dont know which is correct,the game or CMshowroom,but I suspect the game is rendering normals textures incorrectly because it looks like Kunos knew they had a problem...hence the photoshop action they supplied in the sdk folder.
In one instance where I was creating a txNormal file from photoshop,It didnt work correctly til I first flipped the image horizontally then created the normals texture with the opposite y channel setting than what CMshowroom wanted.Then flip the resulting normals image horizontally again.This seems very similar to what the photoshop action performs on an already available normals file.
Its maddening trying to create things and not even know if you doing it correctly or if you will need to fix everything once the underlying problem is corrected. Please help and thank you.
It is not recommended to use CM Showroom for mod development, as the viewer is a custom implementation and not always accurate to the game.
CSP has the ability to live reload textures while in game, so I would recommend doing that instead.
OK...thanks.So which is correct? The game is not rendering Kunos normals textures correctly.Has something happened to change normals textures rendering? If CMshowroom is wrong,can it be fixed?
How do you get a live reload of a texture? Oh,I see,it just does.
thank you