码迷,mamicode.com
首页 > 编程语言 > 详细

Unity Shader 入门

时间:2015-05-01 07:00:27      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:

To be more specific, a Shader defines:

  • The method to render an object. This includes using different methods depending on the graphics card of the end user.
  • Any vertex and fragment programs used to render.
  • Some texture properties that are assignable within Materials.
  • Color and number settings that are assignable within Materials.

A Material defines:

  • Which textures to use for rendering.
  • Which colors to use for rendering.
  • Any other assets, such as a Cubemap that is required by the shader for rendering.

 

TODO:

1. How GPUs Work ?

Unity Shader 入门

标签:

原文地址:http://www.cnblogs.com/x5lcfd/p/4470203.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!