Announcement

Collapse
No announcement yet.

Custom node in Material Question

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

    Custom node in Material Question

    Hi,

    I am trying to build a shader using custom node. I'm trying to get a float4 output from a texture and a coordinate. This is the code

    return float4(tex2d(Texture,Coordinate.xy));

    i have two input

    Texture (texture sample)
    Coordinate (texture coordinate)

    It doesn't give me any output, anyone can help me? thanks
Working...
X