• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
lizhengjin
博客园    首页    新随笔    联系   管理    订阅  订阅
2009年8月9日
glsl 顶点向量转换矩阵
摘要: The gl_NormalMatrix The gl_NormalMatrix is present in many vertex shaders. In here some light is shed on what is this matrix and what is it for. This section was inspired by the excellent book by Eric... 阅读全文
posted @ 2009-08-09 22:54 lizhengjin 阅读(670) 评论(0) 推荐(0)
glsl光照计算
摘要: The first version preseted in here computes an intensity per vertex. Then the fragment shader uses the vertex interpolated intensity to compute a tone for the fragment. The vertex shader must therefor... 阅读全文
posted @ 2009-08-09 20:54 lizhengjin 阅读(680) 评论(0) 推荐(0)
艳色着色器
摘要: Color Shader GLSL has access to part of the OpenGL state. In this tutorial we'll see how to access the color as set in an OpenGL application with glColor. GLSL has an attribute variable where it keeps... 阅读全文
posted @ 2009-08-09 18:39 lizhengjin 阅读(467) 评论(0) 推荐(0)
Hello World in GLSL glsl的第一个例子,Hello World
摘要: This is kind of a Hello World for GLSL. A minimal shader that performs the most basic tasks: transform the vertices and render the primitives in a single color. In here it this shaders, vertex and fra... 阅读全文
posted @ 2009-08-09 17:31 lizhengjin 阅读(775) 评论(0) 推荐(0)
收集的网址
摘要: http://3dshaders.com/ glsl的官方网址 阅读全文
posted @ 2009-08-09 15:59 lizhengjin 阅读(213) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3