首页 > 代码库 > Pass

Pass

Pass

  The Pass block causes the geometry of an object to be rendered once.

[Syntax]

  Pass { [Name and Tags] [RenderSetup] [TextureSetup] }  The basic pass command contains an optional list of render setup commands, optionally followed by a list of textures to use.
[Render Setup]
  A pass sets up various states of the graphics hardware, for example should alpha blending be turned on, should fog be used, and so on. The commands are these:
  
参考:file://localhost/Applications/Unity/Unity.app/Contents/Documentation/Documentation/Components/SL-Pass.html