Created Lightning Gun effect (Uses LineRenderer, very slow) Created GPU Lightning renderer (very fast, still needs integration)
10 lines
156 B
HLSL
10 lines
156 B
HLSL
#ifndef GPUTRAIL_INPUT_INCLUDED
|
|
#define GPUTRAIL_INPUT_INCLUDED
|
|
|
|
struct InputData
|
|
{
|
|
float3 pos;
|
|
float4 color;
|
|
};
|
|
|
|
#endif // GPUTRAIL_INPUT_INCLUDED
|