Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This new shader allows mixing PLT and TGA/DDS textures on dynamic PC parts. It also allows PLT to have transparency.

Image RemovedImage Added

(Shader currently located at https://neverwintervault.org/project/nwn1/other/visual-effect/merricksdads-plt-mixer-shader-ee-only)

...

The second texture goes in material texture7 and includes an override texture and alpha channel. I've given the override texture an _o suffix.


Image Modified

Image Modified


Image Modified

Mask: texture6Override: texture7 (RGB channels)Override: texture7 (alpha channel)

The shader code takes the alpha from texture7 and applies it to the original PLT for lighting purposes.

...