4
HLSL 쉐이더는 실제로 렌더링 출력에 어떤 영향을 미칩니 까?
나는 HLSL의 구문을 이해한다. 예를 들어 이것을 HLSL로 여기는 척하자. struct VOut { float4 position : SV_POSITION; float4 color : COLOR; }; VOut VShader(float4 position : POSITION, float4 color : COLOR) { VOut output; output.position = position; output.position.xy *= 0.7f; // "shrink" the vertex on the x and y axes …