2013-12-05 14:56:34 +01:00
|
|
|
#include "Defines.hlsli"
|
|
|
|
#include "LightCalc.hlsli"
|
|
|
|
#include "PosManipulation.hlsli"
|
2013-11-28 14:34:52 +01:00
|
|
|
//todo
|
|
|
|
//LightCulling
|
|
|
|
//Calc Diff + Spec
|
|
|
|
//Calc Ambience
|
|
|
|
//Write Glow
|
|
|
|
|
2013-12-05 14:56:34 +01:00
|
|
|
|
2013-11-28 14:34:52 +01:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void main( uint3 DTid : SV_DispatchThreadID )
|
|
|
|
{
|
2013-12-05 14:56:34 +01:00
|
|
|
float3 ViewPos = ToVpos(DTid.xy);
|
|
|
|
//DiffSpec LightCalc(pl, float3 pos)
|
2013-11-28 14:34:52 +01:00
|
|
|
}
|