2020_1130 Particle Editor [소스코드] 0. ParticleSpark Shader 더보기 #include "Header.hlsli" cbuffer SparkBuffer : register(b10) { float time; float duration; // float2 startSize; float3 startDirection; // float sizeOverLifeTime; float3 rotOverLifeTime; } struct VertexInput { float4 pos : Position; float2 size : Size; float3 direction : Direction; // float startLifeTime : LifeTime; float speed : Speed; float4 particleColor : Col.. DX11 3D Game Programming 4년 전