Announcement

Collapse
No announcement yet.

HLSL custom function UDK

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HLSL custom function UDK

    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

    #2
    Have you tried using the Custom node?

    Comment


      #3
      sure! i did tonemapping....but my question is.how can i make different hlsl fuction in one custom node..never mind ithink ill make every function in a dedicated custom node and conect them to the actual custom node.

      Comment

      Working...
      X