add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
19
gamedata/shaders/r2/portal.ps
Normal file
19
gamedata/shaders/r2/portal.ps
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include "common.h"
|
||||
|
||||
half4 main ( half4 C:COLOR0 ) : COLOR
|
||||
{
|
||||
half4 result;
|
||||
|
||||
#ifdef USE_VTF
|
||||
result.rgb = C;
|
||||
#else
|
||||
half4 high;
|
||||
half scale = tex2D(s_tonemap,half2(.5h,.5h)).x;
|
||||
// tonemap (result, high, C, scale*0.9);
|
||||
tonemap (result, high, C, scale);
|
||||
#endif
|
||||
|
||||
result.a = C.a;
|
||||
|
||||
return result;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue