diff options
author | Tim Kuipers <t.kuipers@ultimaker.com> | 2020-01-03 19:18:29 +0300 |
---|---|---|
committer | Tim Kuipers <t.kuipers@ultimaker.com> | 2020-02-27 18:41:20 +0300 |
commit | 01643f5feef430f04b6867e5633c0ad484a4fa0a (patch) | |
tree | a4107684a674735d66b461bee876b6eb73a5c10c /plugins/SolidView | |
parent | ffa16727fe3a665ba7558f423bd8851dd4286abd (diff) |
remove outdated unused shader functions
Diffstat (limited to 'plugins/SolidView')
-rw-r--r-- | plugins/SolidView/xray_composite.shader | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/SolidView/xray_composite.shader b/plugins/SolidView/xray_composite.shader index 9a28e05013..634dd33f70 100644 --- a/plugins/SolidView/xray_composite.shader +++ b/plugins/SolidView/xray_composite.shader @@ -40,13 +40,6 @@ fragment = float kernel[9]; - float hash12(vec2 p) - { - vec2 pp = p * 1234.3; - vec2 p2 = fract(pp) + fract(dot(pp, pp.yx + vec2(12.0,51.0))); - return fract(fract(p2.x * p2.y) * 123.312); - } - void main() { kernel[0] = 0.0; kernel[1] = 1.0; kernel[2] = 0.0; @@ -122,13 +115,6 @@ fragment41core = float kernel[9]; - float hash12(vec2 p) - { - vec2 pp = p * 1234.3; - vec2 p2 = fract(pp) + fract(dot(pp, pp.yx + vec2(12.0,51.0))); - return fract(fract(p2.x * p2.y) * 123.312); - } - void main() { kernel[0] = 0.0; kernel[1] = 1.0; kernel[2] = 0.0; |