RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.37k stars 244 forks source link

makeMaterials <textures folder> console command #841

Open RobertBeckebans opened 4 months ago

RobertBeckebans commented 4 months ago

This will build a material .mtr file for a certain texture folder automatically by scanning for certain image suffices basecolormap _c normalmap _n

this also includes a new mechanism to merge roughness, metal and ao maps into a _rmao texture. If the combined .bimage filename is longer than 256 chars it will generate a hash value name for it instead.