Entity System and rendering
Posted
by
hayer
on Game Development
See other posts from Game Development
or by hayer
Published on 2012-10-03T08:05:34Z
Indexed on
2012/10/03
9:50 UTC
Read the original article
Hit count: 148
Okey, what I know so far; The entity contains a component(data-storage) which holds information like; - Texture/sprite - Shader - etc
And then I have a renderer system which draws all this. But what I don't understand is how the renderer should be designed. Should I have one component for each "visual type". One component without shader, one with shader, etc?
Just need some input on whats the "correct way" to do this. Tips and pitfalls to watch out for.
© Game Development or respective owner