Allow normalmaps to be loaded by themselves

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Allow normalmaps to be loaded by themselves

Re: Allow normalmaps to be loaded by themselves

by Major Cooke » Sat Jun 04, 2022 12:09 pm

I could try to make a PR for this as I'm curious about setting up a default, but is there anything special I need to consider for this?

Re: Allow normalmaps to be loaded by themselves

by Major Cooke » Sat May 07, 2022 1:54 pm

Yes. A simple file like this will do perfectly, which the engine could default to if none is provided. Same with the other ones.
Attachments
ABLACK.png
ABLACK.png (885 Bytes) Viewed 518 times

Re: Allow normalmaps to be loaded by themselves

by Graf Zahl » Sat May 07, 2022 11:49 am

There still needs to be a specular texture to make the shader happy, but that could be provided b< the engine.

Allow normalmaps to be loaded by themselves

by Major Cooke » Sat May 07, 2022 10:38 am

Is it possible to have the engine not require a specular map to load a normalmap? I feel it's arbitrary that one is needed in order to do so and it doesn't make much sense. Can't it assume something like an image that's pure black be loaded in its place in the event it's not added?

Top