I guess this would count as a plugin for NWN... I'll probably put a topic in general too, just in case.
Anywho, thread for NWShader at these here shiny new forums.
Latest info from the old thread:
Posted 07/13/10 18:58 (GMT) by pkpeachykeen
Just uploaded a package for 0.2.2.3. After working with a few testers and fixing some bugs in my code, then some of nVidia's people to work on a bug in their code, I think/hope all the bugs are out of this version.
Quite a few new features (as in, an absolutely massive amount).
Main things:
- Soft focus: as you look around, your "eyes" will slowly adjust. No more instantly focusing on anything you see. There is a setting to speed this up or slow it down.
- HDR: if you use this, the average brightness is calculated. Allows your "eyes" to adapt to how bright things are. Requires HDR enabled in the GUI and an HDR shader running. Outside during the day, you'll lose some detail in dark areas but bright areas will become more average-brightness. At night, bright areas will be very bright, but details in darker areas will be more visible.
- Flexible shaders: As shown in my checkerboard texture demo, shaders can create textures. Shaders can specify the size, resolution and format of their textures. Textures can also be shared between shaders, and shaders can both write to and read from textures. Every pass of a shader can have a "render target", where all results from that pass will go. The render target can be the backbuffer ("lastpass" is equivalent to the buffer) or any named (loaded or shader-created) texture.
- Link to NWN's textures: Shaders, both fullscreen and material, can now access any textures loaded by NWN itself. This is especially useful for environment maps. Shaders can, in theory, write to NWN's textures. This is a relatively dangerous thing, so don't abuse it. You can modify textures on-the-fly using this feature.
- Whisper commands: you can whisper script commands to yourself. Other players should not be able to hear these (alpha feature, not well tested yet). You can tweak your shaders, turn them on/off, or load new ones from in-game using this.
- Extended script commands: Scripts can now modify shader parameters, assigning values and even textures during the game. Special keywords are recognized, particularly: now, the current internal timer and rand, which will generate a random number and use that.
- Configurable screenshot format and directory: Pick where your screens go and how they end up there. You can take screenshots in PNG or JPEG format and post them straight onto your favorite forum or Photobucket. (screenshots occasionally don't save, apparently Windows thinks the file already exists when it doesn't, I'm not sure why this is happening. Will be fixing it soon. If the screen doesn't save, try taking it again. It usually works, though)
- Optimized shader management: shaders get loaded once (for materials) and settings are overlayed. Saves on memory and speed.
- Dynamic linking for materials: material shaders are defined in material XML snippets along with settings. Textures can be bound at runtime (eg, you can script what textures should be used). Certain variables are also linked in materials, particularly time and focus (you can have objects fade out in the distance or animate the textures (or even the vertices) based on time).
- Dynamic texture loading: script commands that tell a shader to use a texture that isn't loaded will automatically find and load the texture, or use an error texture if it can't be found. This allows for dynamic texture-sets. If used with the NWPython plugin, this can (theoretically) allow you to download and use textures while the game is running. Textures need not exist when the game starts, only when they are first loaded by NWshader.
- Packaged with 5 languages for the GUI: English (written by myself), Espanol, Deutsch, Italiano and Francais (translated by Google). Localization is a work-in-progress and some labels may be too long to comfortably fit on the GUI. I'll be trying to account for this soon.
A bunch of other features. I need to do a big update of the Wiki docs and a few other spots, but hopefully this will all work. Downloads up on SourceForge:
http://sourceforge.n...nwshader/files/
Should come with everything you need. Any problems, let me know and I'll fix them ASAP.
Ran into a wee bitty problem with the GUI, which could occasionally crash the game if it misinterpreted the screenshot path. Experimental GUI fix available here:
http://www.mediafire...hgzdw1ly0t01t2x
Let me know of any further issues. I'll be filling up this thread with more info soon.
'>