openGL shaders ?

For code related discussions and questions
Post Reply
User avatar
Crymson
Trained
Trained
Posts: 289
Joined: 18 Mar 2010, 21:08

openGL shaders ?

Post by Crymson »

Correct me if I am wrong but this project is starting to use shaders for only the loading of external image files for the masks correct?
Nothing in game actually uses shaders?
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: openGL shaders ?

Post by Per »

We use shaders for blending team colour masks when shaders are supported by the graphics card. If not, an inferior technique is used for the same purpose.
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: openGL shaders ?

Post by i-NoD »

Per wrote:We use shaders for blending team colour masks when shaders are supported by the graphics card. If not, an inferior technique is used for the same purpose.
I must add that ff (for OpenGL 1.4-1.5 capable cards) version of TCMask feature is in no way inferior to shadered version and is producing almost the same result. I wrote 'almost' here because I deliberately traded a small amount of color-quality in ff version for compatibility/speed with *very crappy* or old HW, which I don't posses and cannot debug/fix. I'm not even sure if someone will find that difference. But if someone have Intel GMA 950 on Windows, then I can fix that.
User avatar
Crymson
Trained
Trained
Posts: 289
Joined: 18 Mar 2010, 21:08

Re: openGL shaders ?

Post by Crymson »

Right, so there are no plans to use shaders outside of loading the team masks?
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: openGL shaders ?

Post by i-NoD »

You do have a strange habit of making some negative conclusions based on, what I'd call, positive facts... :geek:

There are plenty of ideas or places where game should benefit from shaders and we surely will add more things that will use shaders, but wishes alone will not implement them... well, usually not :wink:
User avatar
Crymson
Trained
Trained
Posts: 289
Joined: 18 Mar 2010, 21:08

Re: openGL shaders ?

Post by Crymson »

Just trying to clear things up. :)
Zarax
Trained
Trained
Posts: 121
Joined: 16 Feb 2010, 11:54

Re: openGL shaders ?

Post by Zarax »

i-NoD wrote:But if someone have Intel GMA 950 on Windows, then I can fix that.
I do and can volunteer as a tester if you want.
Post Reply