mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-06 02:10:42 +01:00
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);
|
||
|
}
|