mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-25 18:20:30 +01:00
2ae2a551a6
GLES drivers adapted, but only did make compile-tests. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6038 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);
|
|
}
|