The issues I'm having are with the creation of the view and the orthogonal projection matrix for the directional light.
See bottom post...
Edited by lipsryme, 24 November 2012 - 08:34 AM.
Posted 21 November 2012 - 09:35 AM
Edited by lipsryme, 24 November 2012 - 08:34 AM.
Student at the Games-Academy Frankfurt, Germany.
Posted 24 November 2012 - 08:29 AM
static const float ShadowDist = 1.0f;
static const float Backup = 20.0f; // -20.0f will give me an image
static const float NearClip = 1.0f;
static const float CascadeSplits[4] = { 0.125f, 0.25f, 0.5f, 1.0f };
static const float Bias = 0.005f;
Edited by lipsryme, 25 November 2012 - 07:50 AM.
Student at the Games-Academy Frankfurt, Germany.
Posted 27 November 2012 - 08:46 AM
const float CascadeSplits[4] = { 0.125f, 0.25f, 0.5f, 1.0f };
const float Bias = 0.005f;
const float ShadowDist = 0.4f;
const float BackupDistance = -1.0f;
The only question left now is how do I make this deferred...
Edited by lipsryme, 27 November 2012 - 11:22 AM.
Student at the Games-Academy Frankfurt, Germany.