Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.

Milestone 2

The first week I spent researching the subject as well as implementing a math library, a scenegraph, camera and so on. After that I began implementing regular old Deferred Shading and I encountered some interesting problems. So far I’ve written the shaders and the geometry pass which is used in the tiled techniques as well. Below is a picture of the framebuffers currently used:


Now the shaders I’ve written are very basic, they include directional light as well as point lights. But now for the interesting parts, the bugs! So, for some reason one of my texture sampler gets trash values after the first initial frame pictured below. I’ve triple and double checked everything for problems in the code and nothing seems out of order, running ApiTrace seems to confirm that the values and everything are set just fine and GeDebugger can’t seem to help me find a solution either. This has so far been really annoying as it has set me back a good 2-3 days as I wanted to have the basic deferred shading implemented by the milestone meeting, but so far I don’t believe I’ll have to revise my planning as once I find the bug everything should be up and running since I’ve tried my implementating by just giving the cubes a predetermined color instead of using the textures diffuse colors and it works just fine. Below are some pictures to illustrate the problem:

frame problems

ApiTrace however confirms that all texture values are set properly and the way they should be. That’s it for this milestone, hopefully by friday I’ll have everything working properly again.


The project

As our three year run here at LTU is drawing to a close every student at the computer graphics and games development programmes have chosen a field they wish to specialize in. I’ve personally chosen to learn more about computer graphics as I find it a challenging and interesting subject where lots of skills are challenged at once. I will be looking into a technique called Tiled Forward Shading which emerged from Tiled Deferred Shading as it’s a relatively recent technique that’s been starting to get used in new game engines.

The Tiled Shading techniques aren’t particularly new, but they do offer some interesting enhancements to both Deferred and Forward shading. I will be particularly looking into the performance differences between the techniques and see if there are any areas where improvements can be made. But enough writing, time to hit that sweet “New Project” button!

My first post!

You’ll have to bear with me as I fumble around trying to customize this site to not look awful! During this project I will be investigating the tiled shading techniques and Tiled Forward Shading in particular. More information will be up shortly.