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