Driftwood2D / Driftwood

Driftwood 2D Tiling Game Engine and Development Suite
http://tileengine.org/
MIT License
24 stars 1 forks source link

Basic Dynamic Lighting with Shaders #122

Open seisatsu opened 7 years ago

seisatsu commented 7 years ago

Support GLSL shaders and provide easy-to-use dynamic lighting techniques to the user through stdlib functionality.

pmer commented 7 years ago

Any ideas for what to make?

seisatsu commented 7 years ago

Lights that are aware of and obstructed by objects on the map. That would likely involve raytracing.

Also consider shader applications like fog, particle effects, bloom on the sun in the background of a platformer -- the kinds of things you would find in a very cinematic engine as I aim for us to be.

My ultimate stretch goal for this engine is to surpass RPGMaker in features, if not eventually in ease of use. Cinematics are important in my opinion for modern engines, and for the kinds of games I have in mind.

pmer commented 7 years ago

Let's split this up into:

pmer commented 7 years ago

Something like "particle effects", while still a large task, is pretty different from "bloom effects".

seisatsu commented 7 years ago

What if, say, you want bloom effects on the particles?

pmer commented 7 years ago

Hmm. I'm not sure. I've never done that before. We should play with it on whichever of those two we do later.

seisatsu commented 7 years ago

This belongs in Stageshow now.

pmer commented 7 years ago

I suspect some work will still need to be done on the core to support GLSL shaders nicely.

pmer commented 7 years ago

Stageshow can contain a bunch of useful GLSL shaders, but core will need hooks for Stageshow to use. This will be similar to how, currently, core contains code to support viewport offset and basic blitting of sprites and Stageshow uses those to create its current lights and the rumble effect.

Let's keep this issue open with that as a new goal.