blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

PbrMaterial.Load could allow suffixes #81

Open Pharmhaus-2 opened 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: DoctorWhoof

Hi,

While I can certainly work around this issue, I feel like allowing PbrMaterial.Load to require specific file names (color.png, normal.png, etc.) restricts how I want to organize and import things, specially when I'm dealing with the world outside Monkey2 (i.e. 3d apps and their file paths).

Instead, it would be nice if it just checked for how the name ends (cube_color.png, cube.normal.png, etc.), so that I can write the specific asset name in front of the required strings.

Thanks!