I want to create a repeat effect of a Texture in HLSL which let me decide the number of repetition, the scaling, the angle and the position similiar to the attached picture.
Is that possible to do it with HLSL? May somebody have a hint how to do the repeating and scaling in HLSL? I tried to understand the kaleidoscope code, but it isn’t so easy to understand. I also gave a look at the blur shaders, but I didn’t understand till now how to create only stripes of the texture.
that effect is more easy with texture transforms and spreads… if you connect the same transformation to the object and the texture transformation, you will have seamless image. then you can add some additional offset transformations to the texture transformations. that should give similar effects.
I know that way using texture transform like Joreg did in the “Stripes” node. I wanted to know if it is possible to do it in a shader for saving CPU calculations…