mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-26 07:57:30 +01:00
8310a3fbad
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6000 dfc29bdd-3216-0410-991c-e03cc46cb475
11 lines
250 B
HLSL
11 lines
250 B
HLSL
sampler cubeTex: register(s0);
|
|
float Roughness;
|
|
|
|
float4 PS( float4 uvwTex : TEXCOORD0 ) : COLOR
|
|
{
|
|
uvwTex.w = Roughness;
|
|
//return texCUBEbias( cubeTex, uvwTex);
|
|
return texCUBElod( cubeTex, uvwTex);
|
|
//return texCUBE( cubeTex, uvwTex);
|
|
}
|