mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
1
This commit is contained in:
9
materialsystem/stdshaders/genwaterloop.pl
Normal file
9
materialsystem/stdshaders/genwaterloop.pl
Normal file
@@ -0,0 +1,9 @@
|
||||
for($ix=-2;$ix<=2;$ix++)
|
||||
{
|
||||
for($iy=-2;$iy<=2;$iy++)
|
||||
{
|
||||
print "vRefractColor += tex2D( RefractSampler, vRefractTexCoord + $ix * ddx1 + $iy * ddy1 );\n";
|
||||
$sumweights+=1;
|
||||
}
|
||||
}
|
||||
print "float sumweights = $sumweights;\n";
|
||||
Reference in New Issue
Block a user