Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Custom shaders but no need for new buffer layout?

Discussion in 'Shaders' started by mdeforge07, Aug 6, 2015.

  1. mdeforge07

    mdeforge07

    Joined:
    Jun 4, 2012
    Posts:
    9
    How does Unity get away with allowing users to write custom shaders without the user needing to define a new buffer layout? Does it use program introspection or is this essentially what the additional syntax in the shader code is for?