mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-27 08:27:30 +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);
|
||
|
}
|