OpenRA / OpenRA

Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
https://www.openra.net
GNU General Public License v3.0
14.59k stars 2.66k forks source link

Add support for the OpenGL Shader Language #10445

Closed LipkeGu closed 8 years ago

LipkeGu commented 8 years ago

A nice Feature would be to add support for GLSL in OpenRA. Shader programing gives us and the Modders the ability to "change" many things at based on vertex and fragment shaders for vertexes.

We can change:

based on vertex manipulation and shaders Shaders can be written and modified in textfiles and has to be compiled at gamestart, they could be passed via mod.yaml Shaders:

what i mean what we could have is like this (example in minecraft) look at the water and lighting

http://i1.wp.com/minecraftsix.com/wp-content/uploads/2014/11/shader-mod.jpg

pchote commented 8 years ago

https://github.com/OpenRA/OpenRA/tree/bleed/glsl

pchote commented 8 years ago

In short: we use shaders for technical features, and all of those effects are already implemented using palette modifiers. Shader mods like minecraft are fundamentally incompatible with the engine design, so theres nothing more to do here.