e4s-sdk/gamedata/shaders/r2/clouds.s
2026-06-17 23:06:51 +03:00

12 lines
741 B
ArmAsm

function normal (shader, t_base, t_second, t_detail)
shader:begin ("clouds","clouds")
: fog (false)
-- : zb (true,false)
-- Igor: avoid siluets.
: zb (false,false)
: sorting (3, true)
: blend (true, blend.srcalpha,blend.invsrcalpha)
shader:sampler ("s_clouds0") :texture ("null") : wrap() : f_anisotropic()
shader:sampler ("s_clouds1") :texture ("null") : wrap() : f_anisotropic()
shader:sampler ("s_tonemap") :texture ("$user$tonemap")
end