add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
14
gamedata/shaders/r3/fluid_advect_temp.ps
Normal file
14
gamedata/shaders/r3/fluid_advect_temp.ps
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "fluid_common.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Pixel
|
||||
float4 main( p_fluidsim input ) : SV_Target
|
||||
{
|
||||
if( IsNonEmptyCell(input.texcoords.xyz) )
|
||||
return 0;
|
||||
|
||||
float3 npos = GetAdvectedPosTexCoords(input);
|
||||
float4 ret = Texture_color.SampleLevel( samLinear, npos, 0) * modulate - k;
|
||||
ret = clamp(ret,float4(0,0,0,0),float4(5,5,5,5));
|
||||
return ret;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue