mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-16 07:20:25 +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);
|
||
|
}
|