for the first time I’m trying to port a shader from shadertoys to vvvv.
As I’m not an expert in this field I just started comparing the code of different ported dx11 shaders to get a basic understanding…
the shader I am talking about is
I got stuck when I tried to find an equivalent for
vec4 ref = textureCube(iChannel0, normalize(reflect(rd, n))); vec3 rfa = texture2D(iChannel1, (p+n).xz / 6.0).xyz * (8./d);
especially the textureCube part is really confusing to me.
I tried to replace it with texCUBE, but without any luck…
maybe someone can give me a hint in the right direction or even a probable solution?
thanks a lot