Forum

Perlin Noise (EX9 Texture source), how to transform it?

Hi people,
Is there any way to modify the perlin noise (EX9 Texture source) dimensions using transformations instead of using Width and Height?
i´ve made some changes in the shader, but i can only crop the window and not resize it.

The problem is on a boygroup multiprojection scenario, when there are transformations in the renderer.

A way to solve it is using an additional render pass, drawing this texture in a quad and transform it on this layer, but i´m looking for a more efficient way.

float4x4 tWVP: WORLDVIEWPROJECTION;
float4x4 tTex: TEXTUREMATRIX <string uiname="Texture Transform";>;
.
.
.

}
void vs2d(inout float4 vp:POSITION0,inout float2 uv:TEXCOORD0){
	uv=mul(uv,tTex);
	//uv+=.5/R;
	vp=mul(vp,tWVP);

any tip?

Thanks.

Ari.

Finally i´ve found a workaround, increasing the offset on every client in the boygroup setup.