diff options
author | jjesswan <jessica_wan@brown.edu> | 2024-05-09 23:53:08 -0400 |
---|---|---|
committer | jjesswan <jessica_wan@brown.edu> | 2024-05-09 23:53:08 -0400 |
commit | 4150f19230962abaf68a8be209c7fa10bc7691e3 (patch) | |
tree | 02b5c38f1b54c4e436010972e85cb44ef7641f4d /resources | |
parent | f9819ae7f8b11b298c16eb14d929a9c09038a877 (diff) |
relative filepaths thanks joelll
Diffstat (limited to 'resources')
-rw-r--r-- | resources/shaders/foam.frag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/shaders/foam.frag b/resources/shaders/foam.frag index be95183..8d0d9bf 100644 --- a/resources/shaders/foam.frag +++ b/resources/shaders/foam.frag @@ -33,7 +33,7 @@ float getSaturation(vec2 k, vec2 xzPos, float adjWaveLength, float phaseC){ void main() { float height = pos.y; float saturation = constants[0];//getSaturation(dir, vec2(pos.x, pos.z), 200.f, constants[0]); - vec4 m_uv = texture(halftone_texture, tex*2); + vec4 m_uv = texture(halftone_texture, tex*1); float m_threshold = (m_uv.r + m_uv.g + m_uv.b) / 3; // final rgba color at x,z pos |