custom shader for player/ creature models
NWN_Töml
Member Posts: 90
Maybe it´s a question for the devs too but I was always unhappy how the smoothing groups were lit by the lights in NWN. So would it be possible to create an "ambient only lit" shader for objects/ models in general. So the environment is lit by ambient and diffuse and only specified models are lit by ambient only ?
Well, that would be awesome!!
Well, that would be awesome!!
0
Comments
Typically, they iterate over all the lights and apply them for every model. You can then clone that shader, and skip the diffuse lighting steps, and use the new shader for the models you care about.
Unfortunately, currently, you have to specify the new shader in a .txi, which means you'll need to find all the textures/plts that you want to treat this way. And it also means that two instances of the same model (e.g. two goblins) cannot be lit in different ways.
This part will get much easier with the nwscript->shader interface that's under way.
So if it´s not to much asked can you or someone else give me some start help with that shader. I have no clue how to do it myself for the first time
Feel free to ping me there.
I've also kind of started writing tutorials for this, but didn't reach the lighting part yet. You can skim it for a quick reference: https://github.com/mtijanic/nwnee-shader-tutorials/
...oh my...i maybe a decent modeler/ texture creator but that stuff is beyond my understanding. There is also the language barrier
And wouldn't it become an issue in areas that has little or no ambient light?
So you would have to design your areas a bit different and my way is not very practical for an override
I may post some screens so i can show you what truly gave me this idea.