Browse Source

obs-filters: Make crop shader wrap texture

This is mostly so that it can be used with the scroll filter, which uses
identical shaders, but needs to wrap the texture instead of clamp.
jp9000 10 years ago
parent
commit
eab60e04d9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/obs-filters/data/crop_filter.effect

+ 2 - 2
plugins/obs-filters/data/crop_filter.effect

@@ -6,8 +6,8 @@ uniform float2 add_val;
 
 sampler_state textureSampler {
 	Filter    = Linear;
-	AddressU  = Clamp;
-	AddressV  = Clamp;
+	AddressU  = Wrap;
+	AddressV  = Wrap;
 };
 
 struct VertData {