1 2 3 4 5 6 7 8
#include "hdr.cg" half4 main(fragin In, uniform samplerCUBE envMap : TEXUNIT0) : COLOR { half3 c = texCUBE(envMap, In.tex0).rgb; return half4(c, 1.0); }