Is there no other way of getting great graphics without shad

Discussion about everything. New games, 3d math, development tips...
Post Reply
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Is there no other way of getting great graphics without shad

Post by MasterGod »

Is there no other way of getting great graphics without shaders?
I mean does cool looking models and weather effects and everything that makes the newest games looks so good isn't possible without shaders?

Is there no other way :?: :idea:
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

The latest and greatest tricks will always require shaders, but there are plenty of cool tricks you can do without them. I just made this which doesn't use any shaders-

Image
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

That looks pretty awesome hehe, and of course I'm asking for the code :P :)
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
huydotnet
Posts: 81
Joined: Tue Sep 25, 2007 12:26 pm
Location: Danang, Vietnam

Post by huydotnet »

how can you do that without shader?
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Well, it was supposed to be reflection and isn't finished yet, but it ended up as a pretty cool diffraction. The area is rendered to 6 64x64 render targets then rendered to a larger texture (free bilinear blur) on the faces of a hexahedral sphere. I was too lazy to do the front face like in this example-

http://www.opengl.org/resources/code/sa ... de180.html

It uses the spheremap renderer to draw the result, light bend is done by the scale of the vertex normals so you'd have to build the meshes at the correct scale. Of course you can't really update all 7 textures each frame (only the output) so it will only work with scenery.

I'll release the code when it works with standard reflections and I've tidied it up a bit, or I get sick of it and give up (whichever comes first) ;)
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

Wow that is nice. I would just like to say that the picture was labeled as porn on my school computer, haha. I thought that was pretty funny.
TheQuestion = 2B || !2B
Post Reply