bgfx/examples/44-sss/vs_sss_screenquad.sc

11 lines
192 B
Scala

$input a_position, a_texcoord0
$output v_texcoord0
#include "../common/common.sh"
void main()
{
gl_Position = mul(u_modelViewProj, vec4(a_position.xyz, 1.0));
v_texcoord0 = a_texcoord0;
}