Waiting for "Uber Shader Technology"

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Waiting for "Uber Shader Technology"

Post by sudi »

So what do u think when do people start about asking for Uber Shaders?
Just read the CryEngine 3 specs and had a laugh about that....
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

Yeah, Crytek has a tendency to hype a lot of things. Essentially they are just using their own definition of a "Uber Shader". Oh well, CryEngine 3 still looks pretty cool.

Also, just curious as to whether anyone would know, does CryEngine 3 use SSGI (Screen Space Global Illumination) for its GI implementation, or is it doing something else?
TheQuestion = 2B || !2B
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

haha, i enjoyed laughing at that too. Theres a number of engines that claim uber shaders lately. Its quite interesting. Maybe its just a word usage to say that the shaders are awesome. So awesome the end user cant run them all at once ;D
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

No fuzzy "uber" (Or Über in german :P , Cuz' they're cool like that) shader refers to a shader that tries to do every material on it's own. For instance, emulating the fixed function pipeline in a shader would be a simple example of an uber shader. This is because the fixed function pipeline is designed to handle all types of materials (Albiet not many), so this would be classified as an uber shader.

For example you would have a glass refractive ball and a diffuse stone texture with bumpmapping both using the exact same shader code even though their materials are significantly different through just setting some shader variables/reading material ids from a texture (As they do in deferred rendering). I guess the term "uber" shader would normally refer to an "encompass all" shader in a deferred rendering context in modern terminology, as you more or less HAVE to use the same shader for everything since you can only do the materials in a post processing pass over the whole scene (The alternative would be splitting it up to multiple passes which I guess in most cases would be quite a bit more inefficient).

I use an "uber" shader here and there to simplify things myself.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

Really I don't think they are using "Uber" to mean that type of all encompassing, but rather the all encompassing of platforms (PS3,360,PC). This is the first sentence that comes after the title:
CryENGINE® 3 shaders are written once in a high level language, then compiled automatically to each platform.
TheQuestion = 2B || !2B
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

Yea blindside, the joke was that cryengine is so advanced a normal pc cant do all the things it can do.

Thanks for the explanation though, i didnt actually know it was along those lines. We have spoken about similar things before using splicing of shader code at load time to "build" a shader on the fly based on material properties and texture slot allocations.
Post Reply