Shader Development/Maintaining

A place to discuss everything about the Orxonox framework.

Moderator: PPS-Leaders

Post Reply
User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Shader Development/Maintaining

Post by beni » Fri Jan 22, 2010 2:34 am

I was thinking these days about shaders and Orxonox. While Ogre supports a lot of shader and there are some Ogre examples that show the use of shaders, we hardly use shaders at all in Orxonox.
From the beginning we wanted to support a wide variety of systems and thus we wanted to have low requirements for hardware, but I think it is also important to support high end systems that do have strong graphic cards and support a lot of shaders.
As for now we did have some students that were developing shaders, but we do not have a maintainer. We also never discuss the use of shaders and thus our graphics are just less beautiful than they could be.

I wanted to discuss, what kind of shaders we could set up, if we need something in the framework to better support shaders and who could maintain them. We should also offer shader development in the PPS as long as there is somebody among the assistants that has a general understanding of them.
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Re: Shader Development/Maintaining

Post by x3n » Fri Jan 22, 2010 11:09 am

well we do have vertex-shader support, for example the screen is distorted with a radial blur if you press the boost button, but it's deactivated per default on linux. You can also place 'global shaders' which affect all players in the game in a map. We currently don't have the possibility to trigger a generic shader (defined in xml) only on one client due to the lack of a good camera management system. also we don't support pixel shaders currently.
Fabian 'x3n' Landau, Orxonox developer

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Re: Shader Development/Maintaining

Post by beni » Tue Jan 26, 2010 4:06 am

So if I understand this correctly, there is still stuff to do until shaders are properly supported. I know of course of the shaders we use now, but could somebody change it or write a new one for another effect? I know some of us experimented with some shaders, but there is nobody that actually maintains the shaders and adjusts them to the current graphics.
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Re: Shader Development/Maintaining

Post by x3n » Tue Jan 26, 2010 9:50 am

beni wrote:but could somebody change it or write a new one for another effect?
sure, why not? all shaders are in the data repository. consult the ogre wiki for more documentation.

and i don't feel like "maintaining" shaders and "adjusting them to the current graphics" (what do you mean by that anyway?) as long as we still have countless development blocking and game breaking issues in the framework.
Fabian 'x3n' Landau, Orxonox developer

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Re: Shader Development/Maintaining

Post by greenman » Tue Jan 26, 2010 11:16 am

i would say if we find someone (not already otherwise involved in development) it would be nice to have additional shaders. i think this one doesn't really have to know a lot about orxonox to do that, so it could also be someone else than one of the core/main developpers.

but for the moment i don't know anyone fitting the above criteria ;)
There are only 10 types of people in the world: Those who understand binary, and those who don't.

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Re: Shader Development/Maintaining

Post by x3n » Tue Jan 26, 2010 6:06 pm

ogre provides quite a few basic shaders and you can adjust them to your needs of course. the only thing i currently miss is a "glow" shader, but this is also related to materials, because we have to define which materials glow and which don't. i think it's easy to do after we figured out how to use material properties in shaders, because it boils down to a blured overlay and that's already present in ogre/our repository.
Fabian 'x3n' Landau, Orxonox developer

User avatar
lieni
Noxonian Reg'metholt
Posts: 56
Joined: Tue Oct 31, 2006 4:35 pm
Location: Hell
Contact:

Re: Shader Development/Maintaining

Post by lieni » Wed Feb 17, 2010 12:24 am

ogre && shader == fail
The secret to creativity is knowing how to hide your sources.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests