The spring render pipeline/order?

The spring render pipeline/order?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

The spring render pipeline/order?

Post by smoth »

So how does the spring rendering order work?

Drawworld, then, drawunit, then, ?

Within draw world is there a way to do pixel shaders?

is the obama shader the best way to do across the screen shaders?
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: The spring render pipeline/order?

Post by PicassoCT »

I distinctly remember there beeing a wikki article on this..

I searched for
DrawWorldPreUnit
and found none.

Closest i got was :
https://springrts.com/wiki/LuaCallinReturn

Drawing
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: The spring render pipeline/order?

Post by Kloot »

Genesis [--> Shadow] --> (Sky->Ground->Trees) --> PreUnit --> Unit [--> Refraction [ --> Reflection] ] --> World --> Screen
Within draw world is there a way to do pixel shaders?
Of course, you can draw your own objects in the world with your own shaders bound.
is the obama shader the best way to do across the screen shaders?
There is only one way to do such post-processing shaders.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: The spring render pipeline/order?

Post by smoth »

awesome! Thanks!
Post Reply

Return to “Engine”