Merging r5975 through r6036 from trunk to ogl-es branch.
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
This commit is contained in:
10
media/cubeMapReflectionPS.hlsl
Normal file
10
media/cubeMapReflectionPS.hlsl
Normal file
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user