首页 > 其他分享 >OpenGL book note

OpenGL book note

时间:2022-11-28 11:26:02浏览次数:27  
标签:shadow OpenGL shader tesslation note book Shadow 三角形

OpenGL Shading language 4.0
vertex shader
geometry shader:
格式解释
https://blog.csdn.net/hankern/article/details/90316774
tesslation shader:
曲面细分: 1.一个人脸模型在Geometry中加入了多个三角形,这个三角形的构造方法
垂直的交点,重心,三角形分割法
2.tesslation curve: 把一个折线变成曲线
3.tesslation quad: 多个嵌套,加入了多个三角形
4.tesslation on 3D surface: 把一个teapot 变的很圆
5.Tesslation based on depth: 其实就是所谓的LOD技术,根据深度,隐藏细节
他的代码中有几个参数( tesslation control shader)

书中所谓的ImageSpace技术:
1.edge detect //边缘检测
2.Gauss blur
3.bloom
4.gamma correction
5.image quality
6.multiple sample and multiple antiliasing
7.deferred shading

Shadow技术:
1.Create Shadow with Shadow map
2.Anti aliasing shadow edges with pcf
3.Create Soft shadow edges
random sampling

 

标签:shadow,OpenGL,shader,tesslation,note,book,Shadow,三角形
From: https://www.cnblogs.com/yang131/p/16931679.html

相关文章