Saturday, October 20, 2018

 

Some notes on PBR

 
Things that can go wrong (I have done all of these):
 
Setting the trainz build at 4.5, no error, mesh will show but PBR is off, set to 4.6.
 
Typos: name.trainmesh  should be name.trainzmesh also name.m.pbrmetalmask should be name.m.pbrmetalmasked.
 
Having PBR ARN with old windows glass (nonPBR) and the numbers showed up on the glass, replacing with PBR m.glass fixed, this was in first Dev. build.
 
Getting the PBR channels in the wrong place can give all kinds of odd things, had one where as you zoomed in or paned part of the mesh would disappear, like it was cut by a knife.
 
Adding PBR to ARN is simple, you only need to add two new textures, a normal and the pbr, bouth need no data, just plane. You do have to redo the material for all the digit plans in the mesh but can use the same normal and pbr texture for all digits. The folder with the numbers is the same as before.
 
I have found that must of my content needs to have new UVmaps before up dateing to PBR. This is due to overlapping UVs. Also I find I am using lighter colors.