X Tutup
Skip to content

Commit fe1f4a6

Browse files
something
1 parent e8e7066 commit fe1f4a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/graphics/program-lib/chunks/blurVSM.frag

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ vec2 encodeFloatRG( float v ) {
1313
return enc;
1414
}
1515

16+
float saturate(float f) {
17+
return clamp(f, 0.0, 1.0);
18+
}
19+
1620
void main(void) {
1721
vec2 moments = vec2(0.0);
1822

0 commit comments

Comments
 (0)
X Tutup