Hi guys.is there a availability to make hlsl function like
float3 getPosition(in float2 uv)
{
return tex2D(g_buffer_pos,uv).xyz;
}
in udk? i tryed and it gave me different errors no matter what...it ****** me off cause that part is realy important to the shader!.and i dunno how to do it the other way.thanks
float3 getPosition(in float2 uv)
{
return tex2D(g_buffer_pos,uv).xyz;
}
in udk? i tryed and it gave me different errors no matter what...it ****** me off cause that part is realy important to the shader!.and i dunno how to do it the other way.thanks
Comment