Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

891561 Posts in 33550 Topics- by 24784 Members - Latest Member: 1980s

June 20, 2013, 12:37:53 AM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)Pixel Shader Hardware Requirements
Pages: [1]
Print
Author Topic: Pixel Shader Hardware Requirements  (Read 1141 times)
Nix
Level 10
*****



View Profile
« on: February 01, 2011, 04:11:57 PM »

Would it be an awful idea to require PS 3.0? How many of you all would I alienate?
Logged
John Sandoval
Level 10
*****


into the abyss


View Profile WWW
« Reply #1 on: February 01, 2011, 04:12:49 PM »

me
Logged

Nix
Level 10
*****



View Profile
« Reply #2 on: February 01, 2011, 04:27:48 PM »

 Sad
Logged
eva
BANNED
Level 6
*


View Profile
« Reply #3 on: February 01, 2011, 04:30:35 PM »

keep it 2.0 for 10 mor years!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Logged

Nix
Level 10
*****



View Profile
« Reply #4 on: February 01, 2011, 04:31:27 PM »

But I'm having such a great time with VPOS!
Logged
Saint
Level 3
***



View Profile WWW
« Reply #5 on: February 01, 2011, 04:33:22 PM »

http://store.steampowered.com/hwsurvey

In short, roughly 9.5% of steam users use hardware that does not support PS3.0

- edit -

If it's just VPOS you want, you can just output this information to another attrib in the vertex shader.
Logged
zacaj
Level 3
***


void main()


View Profile WWW Email
« Reply #6 on: February 01, 2011, 04:39:51 PM »

I had this same question about a month ago, and decided to develop for 3.0, but maintain a basic renderer that uses all low end features for that 10%.  It wont necesarally look good, but theyll still be able to play, and 90% of players will have cool advanced graphics
Logged

My twitter: @zacaj_

Quote from: mcc
Well let's just take a look at this "getting started" page and see--
Quote
Download and install cmake
Noooooooo
Nix
Level 10
*****



View Profile
« Reply #7 on: February 01, 2011, 04:44:31 PM »

http://store.steampowered.com/hwsurvey

In short, roughly 9.5% of steam users use hardware that does not support PS3.0

- edit -

If it's just VPOS you want, you can just output this information to another attrib in the vertex shader.

I'm relatively new to HLSL. Are you saying there's a way to use VPOS-like functionality without pixel shader 3.0?
Logged
John Sandoval
Level 10
*****


into the abyss


View Profile WWW
« Reply #8 on: February 01, 2011, 04:45:45 PM »

Eh, just fucking go for it.

I don't wanna play your stupid game anyway.

*sobs quietly in corner*
Logged

Saint
Level 3
***



View Profile WWW
« Reply #9 on: February 01, 2011, 05:02:51 PM »

I'm relatively new to HLSL. Are you saying there's a way to use VPOS-like functionality without pixel shader 3.0?

VPOS is just your screenspace coordinates and you can get that if you multiply the view position with the projection matrix... Then you can just store this information in any attrib, for example one of the texcoords. It's been a long time since I wrote "pure" HLSL so this syntax may be a bit off, but something like this might work;

Code:
// Vertex program
float4x4 g_ProjectionMat;
float4x4 g_ViewMat;
float4x4 g_WorldMat;

void main(in float4 _InPos : POSITION, out float4 _OutPos : POSITION, out float4 _ScreenCoord : TEXCOORD0)
{
    float4x4 WorldViewProj = mul( mul(g_WorldMat, g_ViewMat), g_ProjectionMat );
    float4 ScreenPos = mul( _InPos, WorldViewProj);
   
    _OutPos = ScreenPos;
    _ScreenCoord = ScreenPos / ScreenPos.w;
}

... Sorta.
Logged
mcc
Level 10
*****


glitch


View Profile WWW Email
« Reply #10 on: February 01, 2011, 05:47:32 PM »

If your program is using directx at all the chances I'll get to play it are already pretty low
Logged

My projects:<br />Games: Jumpman Retro-futuristic platforming iJumpman iPhone version Drumcircle PC+smartphone music toy<br />More: RUN HELLO
Player Ʒ
Level 10
*****


sudo !!


View Profile WWW
« Reply #11 on: February 01, 2011, 05:56:36 PM »

If your program is using directx at all the chances I'll get to play it are already pretty low
This. Oh, and I don't think my on-board card even supports a single shader, so that excludes me. Then again, my machine is a decade out of date.
Logged

eva
BANNED
Level 6
*


View Profile
« Reply #12 on: February 01, 2011, 06:14:43 PM »

http://store.steampowered.com/hwsurvey

In short, roughly 9.5% of steam users use hardware that does not support PS3.0


ahhhh fuckk im going to be left behind again!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Logged

Nix
Level 10
*****



View Profile
« Reply #13 on: February 03, 2011, 04:10:11 PM »

Good news! I got rid of the pixel shader 3 requirement. Now we won't lose that 10% player base and the artist on our team will be able to play the game. Thanks a ton, Saint. Now you will all be able to try it out. This is for the project in my sig, by the way.
Logged
Saint
Level 3
***



View Profile WWW
« Reply #14 on: February 04, 2011, 12:52:13 AM »

Good news! I got rid of the pixel shader 3 requirement. Now we won't lose that 10% player base and the artist on our team will be able to play the game. Thanks a ton, Saint. Now you will all be able to try it out. This is for the project in my sig, by the way.

Glad to help.

Though I feel I need to point out that the Steam stats might be skewed to more high-end machines, and that of the 9.5% that does not have PS3.0 more than half does not even have D3D9, meaning you will at best be working with PS1.4 and - as some people here have pointed out - in some cases you will not be able to use shaders at all.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic