13 lines
267 B
HLSL
13 lines
267 B
HLSL
#include "volumeLightHF.hlsli"
|
|
#include "quad.hlsli"
|
|
|
|
VertexToPixel main(uint vID : SV_VertexID)
|
|
{
|
|
VertexToPixel Out = (VertexToPixel)0;
|
|
|
|
float4 pos = QUAD[vID];
|
|
Out.pos = mul(pos, lightWorld);
|
|
Out.col = float4(lightColor.rgb * lightEnerdis.x, 1);
|
|
|
|
return Out;
|
|
} |