Shader

作者: 核桃啊 | 来源:发表于2017-05-16 11:20 被阅读3次

What is Shader
From wikipedia:

In the field of computer graphics, a shader is a computer program that is used to do shading: the production of appropriate levels of color within an image, or, in the modern era, also to produce special effects or do video post-processing. A definition in layman's terms might be given as "a program that tells a computer how to draw something in a specific and unique way".

通俗地说一段运行在GPU上的代码

shader使用GLSL(OpenGL Shading Language)

渲染管线

https://www.opengl.org/wiki/Rendering_Pipeline_Overview

相关文章

网友评论

      本文标题:Shader

      本文链接:https://www.haomeiwen.com/subject/uuntmttx.html