成都网站建设设计

将想法与焦点和您一起共享

shader的含义-创新互联

原文shader的含义

Shaders are the modern way of doing 3D graphics. In a way you could claim that this is a step back as most of the 3D functionality that was provided by the fixed function pipeline and required the developer to only specify configuration parameters (lighting attributes, rotation values, etc) must now be implemented by the developer (via shaders), however, this programmability enables great flexibility and innovation.

成都创新互联是一家专业提供绩溪企业网站建设,专注与成都网站设计、成都做网站HTML5建站、小程序制作等业务。10年已为绩溪众多企业、政府机构等服务。创新互联专业网站建设公司优惠进行中。

理解

Shaders 提供了更高的灵活性, 原本 fixed function pipeline  只需程序员提供例如光照的位置, 旋转的角度, 但是光具体怎么实现照射, 旋转是用矩阵还是四元数,都由 fixed function pipeline(固定管线)决定,

现在, 允许程序员用shader语言自己在图形硬件上实现。

reference from http://ogldev.atspace.co.uk/www/tutorial04/tutorial04.html


网站标题:shader的含义-创新互联
文章路径:http://chengdu.cdxwcx.cn/article/ccippd.html