Changes

Jump to: navigation, search

GAM670/DPS905 Weekly Schedule 20121

No change in size, 07:37, 9 March 2012
This Week
float3 tex : TEXCOORD0;
};
</syntaxhighlight>
: vertex shader
<syntaxhighlight lang="cpp">
: vertex shader
</syntaxhighlight>
FS_Skybox skyboxVertexShader(float3 pos : POSITION) {
FS_Skybox output = (FS_Skybox) 0;
return output;
}
</syntaxhighlight>
: skybox sampler state
<syntaxhighlight lang="cpp">
: skybox sampler state
</syntaxhighlight>
texture skyBox;
samplerCUBE skySampler = sampler_state {
AddressW = MIRROR;
};
</syntaxhighlight>
: fragment shader
<syntaxhighlight lang="cpp">
: fragment shader
</syntaxhighlight>
float4 skyboxFragmentShader(FS_Skybox input) : COLOR0 {
return texCUBE(skySampler, input.tex);
}
</syntaxhighlight>
: skybox technique
<syntaxhighlight lang="cpp">
: skybox technique
</syntaxhighlight>
technique skybox {

Navigation menu