summaryrefslogtreecommitdiffstats
path: root/src/demos/hdr/shaders/cg/skybox.cg
blob: 5ca6e6fd743cb65a6d3df11fdd1a8b0abad713ed (plain)
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);
}