Author Topic: OGL/DX shader question  (Read 5510 times)

0 Members and 1 Guest are viewing this topic.

OGL/DX shader question
Not knowing anything about newer OGL, can anyone tell me if it matches the featureset of later DX versions?  I ask because we've had excellent progress with OGL, but from my perspective the engine has started to date due to lack of post shaders.  I'm curious if OGL is capable of those kind of effects, because modern games all use them, modern cards can use them for negligible performance hit, and they make the otherwise average models and textures in many games look like the sex.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: OGL/DX shader question
It's not a problem for OGL, it's just a matter of whether a particular video card supports shaders or not.  But the big problem is coder support, there is none.  I'm about the only one working on OGL and I have zero time to learn a shader language, program all of the effects, and bug test it.  I've already got enough to do and I'm not going to tackle this.  At least not anytime soon.  So unless someone else steps forward to code up shader support, the question is moot.

  
Re: OGL/DX shader question
My only concern was that the new, excellent OGL support might bite the project in the ass later, but if there's shader support that's fine.  If all it requires is a grand total of more than one OGL coder, I'll get looking. :)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: OGL/DX shader question
So far the only thing that's bitten us in the ass is DX support.  OGL is required for cross-platform support so it's not going anywhere.  It supports everything we need, so long as someone actually knows how to do it.

 
Re: OGL/DX shader question
...It supports everything we need, so long as someone actually knows how to do it.

Which is was i told my CG Course Professor, 2 years ago... he couldn't believe that what i was showing him (a simple particle effect) was even possible, in OGL... but that's what you get from someone who thinks he his still in the seventies....
----------------------------------------------
GTD Swiss Pride - Orion Class
Swiss 1st Fleet, Sector 32 - Ore Belt - Sol
----------------------------------------------
"I'm an engineer!"

Eve: Since Beta Phase 2
Civilizazion Fan: Seems like forever...
SimCity Fan: SC 2000 is still the best
TT Fan: Since 1995
Switzerland: Since 1291

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: OGL/DX shader question
okay, so, lets get this straight, OpenGL is in no way behind in features that DX has?


and it runs bajilion times faster? yayness :D
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: OGL/DX shader question
I should mention that I have removed my objection to removeing D3D, due to my inactivity.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Flaser

  • 210
  • man/fish warsie
Re: OGL/DX shader question
I should mention that I have removed my objection to removeing D3D, due to my inactivity.

IIRC your material system was pretty much (graphic-)API independent.
It was also the base setup needed for a later shader system.
It was also the proclaimed next step in optimizing the render code memory wise.

So what's the status on that one?
IMHO some new/new-old coders would be quite gracious if they could have the could to lead their hand.
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: OGL/DX shader question
Just FYI that someone is working on shader support for OpenGL now.  Thankfully.   :)

 

Offline Kaine

  • 27
Re: OGL/DX shader question
oh yes. if someone puts in a shader language and externalises it, i'd do my best to find the time to learn it and do some simple stuff (like heat effects from engines, light bending on warp, etc etc)

*dreams of parallax mapping on capitol ships*

 
Re: OGL/DX shader question
Woo, really?  Even basic shaders in SCP would be absolutly brilliant.  Go coders! :)

 

Offline Turambar

  • Determined to inflict his entire social circle on us
  • 210
  • You can't spell Manslaughter without laughter
Re: OGL/DX shader question
detail textures would be amazingly useful.
10:55:48   TurambarBlade: i've been selecting my generals based on how much i like their hats
10:55:55   HerraTohtori: me too!
10:56:01   HerraTohtori: :D

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: OGL/DX shader question
Yeah, I think a detail texture system would provide an enormous visual improvement, more than anything else I can think of. FS2 would in many ways actually look better than most modern games, which generally have great lighting and special effects but crappy low resolution textures that get blurry at close range.

I think the other thing that would look very nice is static bloom around light sources, the sort of thing that's seen in the Splinter Cell games for example.
« Last Edit: June 23, 2006, 06:17:36 pm by CP5670 »

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Re: OGL/DX shader question
Bobboau has posted a preview build of this material system a while ago. With detail texture support!

The ground missions in SoL would gain a LOT by using detail textures. Getting shader support is great. I'm willing to learn how to write them.

BTW I just came up with an idea how to create normal maps for FS2 fighters rather fast. Not the perfect way, but at least I could work out normal maps for all textures in a few months.

I already got a normal map for the Perseus. ;)


Shaders will allow a few things, that are not even possible now. A simple screen filter effect could change the look of FS2_open a lot already. Shader effects can do animated stuff way more efficent. Procedural maps... maybe even controlable by scripting... What kind of complex events could be possible with this?

I see a great future for FS2. :)
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: OGL/DX shader question
I already got a normal map for the Perseus. ;)
Well then send it to me and I can start on some bumpmap code.   :)

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Re: OGL/DX shader question
I'm not at my PC. :(

WMC got a normal map from me... but it's for a cargo container. So, just for testing, but maybe it will be enough for you.

I'll try to send you the Perseus map in the next days.
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline wolf

  • 25
Re: OGL/DX shader question
Shaders will allow a few things, that are not even possible now. A simple screen filter effect could change the look of FS2_open a lot already.
For example, sharpen filter:

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Re: OGL/DX shader question
I already got a normal map for the Perseus. ;)
Well then send it to me and I can start on some bumpmap code.   :)


Mail away. :)

Here is a preview of the Perseus, without textures:
http://video.google.com/videoplay?docid=5046055545984123228
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline scratch

  • 24
Re: OGL/DX shader question
Here is a preview of the Perseus, without textures:
http://video.google.com/videoplay?docid=5046055545984123228

Holy cow, this looks great.

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: OGL/DX shader question
JESUS TAPDANCING CHRIST!!!!! :eek:
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.