Since a bit ago I developed a small self-contained program for each effect/technique I wanted to try out.
Recently I felt the need of having a personal rendering engine, not to make a game, but just as a good and versatile sandbox for my graphics experiments.
Foolishly enough, I have started bashing hands and head on my keyboard without a bigger plan and I came up with something that do work for some cases, but I am far from feeling comfortable with it.
Do you know some open source (preferably using OpenGL) rendering engines that are reasonably small (to read the code easily), but good enough to take as example to start with? Are there some good resources (aka tutorial or books) useful for my needs?
I also wanted to learn about deferred rendering, so something that provide both forward and deferred would be great plus!
I am sorry if I am being clear of what I am asking or I am being too vague.
Thank you very much!