Author Topic: SHADERS - Updated defaults (v3)  (Read 9343 times)

0 Members and 2 Guests are viewing this topic.

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: SHADERS - Updated defaults (v3)
Mayhaps the transparency problems only surface at specific hardware/driver combination or something
I considered the same thing while I was writing my previous response but discarded the idea since it really wouldn't matter for the reference shaders one way or the other.  The 1112 and 1119 shader sets are part of the same "family" of sorts, the shader rewrite that was in part specifically done to fix the transparency problems.  The difference could be hardware/driver related, but I really doubt it.  Most likely is is simply due to the difference in test data, where what you have works but if I was to go through my test suite again it would still have the problem.

But I'll have a look at the spec map issue next week and see if I can't work out a shader fix that solves it.

Quote
Also, if the shaders are to be considered media rather than parts of engine, should this conversation be in SCP forum in the first place?
Going strictly by the original topic, no.  But technically it's a 50-50 thing, where it is part data and part code/engine.  I'd say it's just as valid to have this discussion here as it would be in the modding or upgrade forums.

  

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: SHADERS - Updated defaults (v3)
There really isn't a lot I can do about that though, it will take someone with a Mac that has the problem to go through the code and try and work out where the problem is hiding.

Or a hardware donation to Taylor   ;7
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: SHADERS - Updated defaults (v3)
Unfortunately, I don't think that I've heard a single person on a Mac report any success in getting shaders to work.  There always seems to be rendering issues at the least.  My Mac is too old and doesn't have the hardware needed for shader support, so I was never able to test properly and figure out what was going on.  The problem is either in the code itself or the shaders, but I'm pretty confident that it's the code that's at fault.  The same code works on Windows and Linux, so it means we have yet another Mac-only rendering problem on our hands.  There really isn't a lot I can do about that though, it will take someone with a Mac that has the problem to go through the code and try and work out where the problem is hiding.

Actually, shaders seem to work fine in window mode on OSX, although environmental mapping is decidedly borked...

EDIT: see here
« Last Edit: August 17, 2008, 05:52:07 pm by blowfish »

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: SHADERS - Updated defaults (v3)
Strange, I just reported a bug the other day about environment mapping, it's actually a crash bug.  Somewhat complicated to reproduce though.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline ARSPR

  • Preys On Mantis
  • 29
Re: SHADERS - Updated defaults (v3)
[OFFTOPIC]
Speaking about shaders.

Heigh maps (ie Uly) look worse in this new shader version (1119 or 003) than in the very first version Taylor made. There are more displacement artifacts arround the edges.

Maybe, now that shaders are fully public, some bored coder can improve the parallax shader / map   ;)

(Although, I myself consider heigh maps a complete luxury. Normal mapping is really shown in-game, but parallax mapping... I doubt anyone will REALLY notice it while playing)
[/OFFTOPIC]
IF YOU HAVE TROUBLES WITH FS2:
  • Please, please, please, READ and UNDERSTAND the sticky threads in FreeSpace & FreeSpace Open Support board.
    A lot of people are willing to help you, but, as anyone can understand, seeing the very same "issues" repeated again and again can become quite depressing. Please, spend a bit of time trying to solve the issue by yourself.
    (Lobo deserves a monument).
  • Then, if you aren't still able to solve your issue, feel free to ask for help in that same board.
    FYI, most of the troubles are caused by wrong mod installations which lead to either missing data or undesired cross-effects between them. Always follow the mod installation instructions and keep a clean FS2 installation as explained in the sticky threads. Two additional links about how the game handles game data:
  • If you think that you've discovered a bug, mantis it.
    Provide as much info as you can, and try to narrow it down. A lonely "FS2 doesn't work" is not a good report.

Whoever Hanlon was: Never attribute to malice that which can be adequately explained by stupidity.
Albert Einstein: Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Dell Dimension 9200 - Vista 32-bit Ultimate
Core 2 Quad Q6600 @2.4GHz - RAM 2 GB DDR2
nvidia 8800 GTX - Integrated Sigmatel Audio

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: SHADERS - Updated defaults (v3)
Heigh maps (ie Uly) look worse in this new shader version (1119 or 003) than in the very first version Taylor made. There are more displacement artifacts arround the edges.
It was changed by request.  The art folks liked it better the current way.

It's easy enough to change to the old way though.  Just open up one of the respective "h" shaders in a text editor and look for the "h_offset" line, this is where it determines how much to offset.  You can change it by modifying the last value, the "0.02".  Lower values have less offset, higher values have more offset.  It was "0.01" previously, so you can just change it to that if you liked the old way better. :)

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: SHADERS - Updated defaults (v3)
I'm going to have to make note of that, it could easily be something we want to tweak for FotG since we'll be making heavy use of those maps.  Also, that env map bug I was talking about is fixed now.  Not sure if it could be responsible for other env-related bugs or not.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: SHADERS - Updated defaults (v3)
pics or it didn't happen.

/sorry
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...