Divergent/mods/Shader 3D Scopes/gamedata/shaders/r3/models_scope_zwrite.s

10 lines
376 B
ArmAsm
Raw Normal View History

function normal(shader, t_base, t_second, t_detail)
shader:begin("deffer_model_flat","models_scope_zwrite")
: zb(false, true)
: scopelense(2)
shader:dx10texture("rt_tempzb", "$user$temp_zb")
shader:dx10sampler("smp_rtlinear")
shader:dx10stencil(true, cmp_func.equal, 2, 2, stencil_op.zero, stencil_op.zero, stencil_op.zero)
shader:dx10stencil_ref(2)
end