Another interesting tutorial from OGLDev An article from Microsoft: nice pictures illustrating some issues with CSM An article about shadow bias Some informative drawings about shadow bias strategiesArticle by: Márton Árbócz Website for geolocation enthusiasts: GeoDetective...
1. 《CSM and PCF》(1) 2. 《Fast Approximate Anti-Aliasing (FXAA) (GLSL)》(1) 3. 《使用 C++11 编写 Linux 多线程程序(转载收藏)》(1) 4. 《CPU的工作过程》(1) 随笔分类 -LearnOpenGLCN 本分类主要用于收集以下网站内容: https://learnopengl-cn.github.io/ https://learnopengl.com/ ...
7.1 高级光照 7.2 Gamma校正 7.3 阴影 7.3.1 阴影映射 7.3.2 点光源阴影 7.3.3 CSM 7.4 法线贴图 7.5 视差贴图 7.6 HDR 7.7 泛光 7.8 延迟着色法 7.9 SSAO 8. In Practice 8.1 调试 8.2 文本渲染 8.3 制作 2D 经典游戏 Breakout ...
使用OpenGL内建的sRGB帧缓冲 glEnable(GL_FRAMEBUFFER_SRGB); 自己在像素着色器中进行gamma校正 voidmain(){// do super fancy lighting[...]// apply gamma correctionfloatgamma=2.2;fragColor.rgb=pow(fragColor.rgb,vec3(1.0/gamma));} 注意: 如果我们要为多个fragment shader添加gamma, 会显得有点麻烦, ...
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "3.3.csm", "src\5.advanced_lighting\3.3.csm\3.3.csm.vcxproj", "{19444C58-47F7-4405-8F19-70C69E6304A0}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "4.normal_mapping", "src\5.advanced_lighting...
05 Advanced Lighting 01 Advanced Lighting index.html 02 Gamma Correction index.html 03 Shadows 01 Shadow Mapping index.html 02 Point Shadows index.html 03 CSM index.html 04 Normal Mapping index.html 05 Parallax Mapping index.html 06 HDR index.html 07 Bloom index.html 08 D...
**纹理缠绕(Texture Wrapping)**: 定义了一种当纹理顶点超出范围(0, 1)时指定OpenGL如何采样纹理的模式。 **纹理过滤(Texture Filtering)**: 定义了一种当有多种纹素选择时指定OpenGL如何采样纹理的模式。这通常在纹理被放大情况下发生。 **多级渐远纹理(Mipmaps)**: 被存储的材质的一些缩小版本,根据距观察者...
Advanced Lighting PBR In Practice Guest Articles How to publish 2020 2021 CSM Scene Tessellation DSA 2022 Code repository Translations Privacy About DSA In development This page is currently in development. If you refresh often enough, eventually you might see something new....
05 Advanced Lighting 01 Advanced Lighting index.html 02 Gamma Correction index.html 03 Shadows 01 Shadow Mapping index.html 02 Point Shadows index.html 03 CSM index.html 04 Normal Mapping index.html 05 Parallax Mapping index.html 06 HDR index.html 07 Bloom index.html 08 De...
7.1 高级光照 7.2 Gamma校正 7.3 阴影 7.3.1 阴影映射 7.3.2 点光源阴影 7.3.3 CSM 7.4 法线贴图 7.5 视差贴图 7.6 HDR 7.7 泛光 7.8 延迟着色法 7.9 SSAO 8. In Practice 8.1 调试 8.2 文本渲染 8.3 制作 2D 经典游戏 Breakout ...