| Author |
Message
|
| Jack |
Posted: Thu Apr 16, 2009 12:00 pm Post subject: Shaders Demo |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
Using Construct, I made this (0.5MB). You need a graphics card which is modernish for it to work, and the effects aren't great because they can't be configured, but I think there is some promise there. _________________ - Jack |
|
| Back to top |
|
 |
| Bami |
Posted: Thu Apr 16, 2009 2:59 pm Post subject: |
|
|

Joined: 02 Apr 2009 Posts: 20
|
You will also need the august DirectX update, which is 15 MB in my case, also requires a WGA authenticy check of your windows. Not a problem for me, my windows is legal, but it makes my firefox a sad panda .
I thought the graphics would be handled with SDL, and not DirectX?
I like SDL a lot more over directx, since it's supported in other environments then windows. I really like ubuntu on my EEE PC >: (. |
|
| Back to top |
|
 |
| Jack |
Posted: Thu Apr 16, 2009 3:07 pm Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
It would, this is just a little demo in Construct which uses DirectX. It just meant I didn't have to do any programming, which is good because I have no idea how to do this sort of thing
It's just to see if the effects are worth the effort really. Pelenai seems to know more about this sort of thing. _________________ - Jack |
|
| Back to top |
|
 |
| Bami |
Posted: Thu Apr 16, 2009 3:25 pm Post subject: |
|
|

Joined: 02 Apr 2009 Posts: 20
|
Well, what shaders really are is just offloading graphics code to the graphics chip. So instead of doing everything in C you're offloading stuff in assembly or a higher shader language into the GPU.
Nothing that can be done in shaders can't be done in regular programming, it's just a bit slower.
What I'm trying to say, shaders is just a way of optimising things. There isn't a really "is it the effort" thing, it's just adding more graphical eyecandy. I'm all for procedurally generating more assets out of the already created assets on the fly, so that we can create diseases/stuff more easily, but I doubt it would "require" shaders. |
|
| Back to top |
|
 |
| Jack |
Posted: Thu Apr 16, 2009 3:36 pm Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
Yes, properly they would be written in the higher level shader language, I think. It would be a fair amount slower doing it regularly I think though. The idea is that some diseases will just use shaders and nothing else, and so they won't work on computers which don't support it. _________________ - Jack |
|
| Back to top |
|
 |
|
|