Allow normalmaps to be loaded by themselves

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Major Cooke
Posts: 8208
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Allow normalmaps to be loaded by themselves

Post by Major Cooke »

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?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Allow normalmaps to be loaded by themselves

Post by Graf Zahl »

There still needs to be a specular texture to make the shader happy, but that could be provided b< the engine.
User avatar
Major Cooke
Posts: 8208
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: Allow normalmaps to be loaded by themselves

Post by Major Cooke »

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 517 times
User avatar
Major Cooke
Posts: 8208
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: Allow normalmaps to be loaded by themselves

Post by Major Cooke »

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?
Post Reply

Return to “Feature Suggestions [GZDoom]”