Author Topic: NWShader  (Read 9555 times)

Legacy_pkpeachykeen

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +0/-0
NWShader
« Reply #15 on: July 21, 2010, 02:42:26 am »


               The default I just added is ./screenshots, which (how Windows works with aliases and whatnot) translates to (whatever directory NWN is running in)/screenshots, or the same directory NWN itself uses.
               
               

               
            

Legacy_R-TEAM

  • Jr. Member
  • **
  • Posts: 51
  • Karma: +0/-0
NWShader
« Reply #16 on: July 21, 2010, 03:37:48 am »


               Hi,



pkpeachykeen, have you seen my example screenshots from the old forum ?

And dont worry - all will get sortet - it takes only a little more time '<img'>

You have doing a amazing job and i hope you will bring more stunning futures to the old NWN engine '<img'>



Regards

R-TEAM
               
               

               
            

Legacy_theMusez

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
NWShader
« Reply #17 on: July 24, 2010, 08:15:04 am »


               Hey peachy-



I've been running into some issues lately where loading up NWN causes me to get a display driver crash sometimes. I use a ATI 5770 with the latest drivers.
               
               

               
            

Legacy_pkpeachykeen

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +0/-0
NWShader
« Reply #18 on: July 25, 2010, 05:41:06 am »


               @R-TEAM: Yes, I saw your screenshots. I'm not sure what caused the appearance of low-resolution, that hasn't shown up before in any other reports I've received. It may be on your end, related to your system, or a tweaked shader. I'll see if I can find out more about it.



@theMusez: Do you mean an in-Windows error or a blue-screen crash? I know some of the later ATi drivers have poor OpenGL compatibility, but that's a driver issue and nothing I can do. See if running in windowed mode or at a different resolution helps. If just the game crashes, I'd need to see the log and where it crashed at. If all else fails, test on an older driver release. Apparently ATi changed something and broke what little OpenGL support they offer (still ahead of Intel, though '<img'>).
               
               

               
            

Legacy_Dark_Ansem

  • Full Member
  • ***
  • Posts: 148
  • Karma: +0/-0
NWShader
« Reply #19 on: July 25, 2010, 10:46:30 am »


               good idea to start a new thread here. when the next version?
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
NWShader
« Reply #20 on: July 26, 2010, 10:32:50 am »


               Peachy I just downloaded the latest version of _six's wildwoods tileset and made a quick test module to see how it looked in game. Prior to this I confess I only looked at it in the toolset. Anyway when I tried running it there was so much fog it was near impossible to do anything. Removing shader everything was crystal clear. I was only running Bloom and HDR.



TR
               
               

               
            

Legacy_chico400

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
NWShader
« Reply #21 on: July 26, 2010, 06:24:44 pm »


               hi my friend ^^



i would like to start working on normalmap for nwncq textures , could you give us full example with the XML, TGA and CGFX?



i thought that normal.cgfx or  normal.cgfx  were the right shaders to use but i'm not sure.



could you light me on that?



thanks peachy ^^



               
               

               
            

Legacy_pkpeachykeen

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +0/-0
NWShader
« Reply #22 on: July 26, 2010, 07:48:05 pm »


               @ Tarot Redhand: Make sure you fog settings aren't set to "use fog" and a multiplier of 0. You need to have either use fog off or set the fog multiplier to 1 or greater.



@ chico: Yes, I'll put together what I used. There have been a few reported issues with normal maps, related to NWN using strange lighting. There are a few things you can do, I'll get more detailed information together this afternoon.
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
NWShader
« Reply #23 on: July 27, 2010, 03:27:10 am »


               Fog is off, multiplier is 1.0. I have generated a level 3 debug log as well. There again I got a weird polka dot effect from chico's bloom shader. Would you like me to generate a screeny for you to see my foggy day in the wild woods?
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
NWShader
« Reply #24 on: July 27, 2010, 11:46:55 am »


               First I apologise for the ads on it but here is a link to a web page with screenies showing what I am talking about and the contents of nwshader.log set with a debug level of 3.



Hope this is of use.



TR
               
               

               
            

Legacy_pkpeachykeen

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +0/-0
NWShader
« Reply #25 on: July 27, 2010, 06:48:58 pm »


               Alright, I'm seeing a few oddities. First of all, you seem to have fog turned off (use fog = false), yet the fog still appears. That alone shouldn't be happening. I'm 99% sure the fog option works, so I'm not sure why it's showing up for you. Try checking the use fog box and see if that helps.

Next, the dot texture is caused by using an older shader with the latest release. With the named texture system, that won't work. You can tweak the shader, it's a relatively simple fix. I integrated some of chico's shader's features into the new bloom, though, so you may want to try that first.
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
NWShader
« Reply #26 on: July 28, 2010, 10:46:58 am »


               OK I checked use fog and the fog went away!!! The odd thing is it only seemed to be happening on that one tileset. Chico's shader was in the patch nwncq so I thought I would try it. As removing it and putting your original back cured it, I wasn't too bothered about it.

Having just changed my graphics card I am sorry to say I won't be able to report from the position of old slow cards any more '<img'>.

TR
               
               

               


                     Modifié par Tarot Redhand, 28 juillet 2010 - 09:47 .
                     
                  


            

Legacy_Chameleon Skin

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
NWShader
« Reply #27 on: July 30, 2010, 07:30:46 pm »


               Hello,



I'd really like to use this, but when I install it I can no longer start NWN.  Here is what happens:



1) I put the .dll's in the main NWN directory.

2) I put the nwshader directory in the main NWN directory as well.

3) I used the default settings, i.e. didn't even open up the GUI.

4) I click on NWN, then "play".

5) I get an error message saying "the application failed to initialize properly".



I have installed the dependencies (runtime files and .NET framework) as well.



The log file isn't terribly helpful - it just says:



Opening log file (ctor)

11:25:26 ::   NWShader: Starting...



Does anybody know what the issue is here?
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
NWShader
« Reply #28 on: July 30, 2010, 08:30:27 pm »


               The error is caused by the xml not being parsed writen correctly.

If you put the settings into the xml without using the application, then nwnmain will open correctly.
               
               

               
            

Legacy_Chameleon Skin

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
NWShader
« Reply #29 on: July 31, 2010, 12:31:31 am »


               I didn't actually try to make any changes using the GUI - I just dropped the files into my NWN directory.  Does that mean that the default XML that comes with the download is malformed?  If so, what do I need to do to fix it?



Maybe you could just paste your xml into the forum and I can use that?