Tocs' Blog

Profile
None
My Game Stuff! Hopefully interesting.
7 comments
4 entries
Advertisement
Tocs1001
February 25, 2014
Shader Templates - Simple But Useful
For the longest time I've struggled with how I wanted to handle materials in my graphics framework. When searching around for existing solutions I found basically two things.

A: Shaders with strict inputs:
A single shader that had specific inputs that were textures, floats, etc etc.

B: Node based shad…
4,141 views
Tocs1001
January 07, 2014
Single Pass Order Independent Transparency
Over the past couple of days I wanted to try out order independent transparency. AMD showed it off in their "Mecha Demo". And with a little help from here I was able to get it functioning in my own graphics framework.

In Cyril's blog he uses some bindless buffer extensions from NVidia. In my impleme…
3,086 views
Tocs1001
August 28, 2013
Two things I wish C++ had.
I thought I'd share some thoughts on two features I wished C++ had, tell me what you think.


Identifier Template Parameters

I'd really like to be able to take an identifier token as a template parameter, similar to a macro but it could only accept a single identifier.

You could use it somewhat like thi…
1,810 views
Tocs1001
July 22, 2013
Lost in Asset Management
So I've been contemplating a good way to manage assets used by my game and so far I've been losing the mental battle.

My current idea is a custom smart pointer much like shared_ptr, in addition to reference counting it keeps track of which files have been loaded and simply returns a reference if its…
1,859 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement