Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Tocs

Member Since 22 Apr 2005
Offline Last Active Nov 10 2014 02:16 PM

Journal Entries

Tocs' Blog > Shader Templates - Simple But Useful

Posted 25 February 2014

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 shaders:
Crazy flexible graphical editors for materials...


Tocs' Blog > Single Pass Order Independent Transparency

Posted 06 January 2014

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 implementation I use Image Load Store . (Cyril also had an im...


Tocs' Blog > Two things I wish C++ had.

Posted 28 August 2013

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 this.template <class T, identifier variablename...


Tocs' Blog > Lost in Asset Management

Posted 22 July 2013

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 already loaded.

This makes loading files worry free as...


PARTNERS