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: 8058
Joined: Sun Jan 28, 2007 3:55 pm

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: 47976
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: 8058
Joined: Sun Jan 28, 2007 3:55 pm

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.
You do not have the required permissions to view the files attached to this post.
User avatar
Major Cooke
Posts: 8058
Joined: Sun Jan 28, 2007 3:55 pm

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?

Return to “Feature Suggestions”