hdr.cg
资源名称:3dwind2.0.rar [点击查看]
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:0k
源码类别:
游戏引擎
开发平台:
Visual C++
- void morningskybox_fp (
- float2 uv : TEXCOORD0,
- out float4 colour : COLOR,
- uniform sampler2D tex : register(s0) )
- {
- colour = tex2D(tex, uv);
- // blow out the light a bit
- colour *= 1.7;
- }
- void morningcubemap_fp (
- float3 uv : TEXCOORD0,
- out float4 colour : COLOR,
- uniform samplerCUBE tex : register(s0) )
- {
- colour = texCUBE(tex, uv);
- // blow out the light a bit
- colour *= 1.7;
- }