Allow normalmaps to be loaded by themselves
Moderator: GZDoom Developers
-
- Posts: 8109
- Joined: Sun Jan 28, 2007 3:55 pm
Allow normalmaps to be loaded by themselves
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?
-
- Lead GZDoom+Raze Developer
- Posts: 48595
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Allow normalmaps to be loaded by themselves
There still needs to be a specular texture to make the shader happy, but that could be provided b< the engine.
-
- Posts: 8109
- Joined: Sun Jan 28, 2007 3:55 pm
Re: Allow normalmaps to be loaded by themselves
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.
-
- Posts: 8109
- Joined: Sun Jan 28, 2007 3:55 pm
Re: Allow normalmaps to be loaded by themselves
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?