summaryrefslogtreecommitdiffstats
path: root/src/demos/hdr/shaders/cg/skybox_hilo.cg
blob: d7392bfdbfb89c995d6a2cea2aa761838a1816a7 (plain)
1
2
3
4
5
6
7
8
9
#include "hdr.cg"

half4 main(fragin In,
           uniform samplerCUBE envMap_rg : TEXUNIT0,
           uniform samplerCUBE envMap_b  : TEXUNIT1) : COLOR
{
    half3 c = texCUBE_hilo(envMap_rg, envMap_b, In.tex0).rgb;
    return half4(c, 1.0);
}