renderdoc使用

renderdoc

launch启动后,ui左上显示capture参数

capture成功后使用f12,分析捕获的数据

pipline(主要分析窗口)

  • VTX: 查看输入的顶点数据
  • VS: 调试顶点着色器输出
  • TCS/TES: 分析曲面细分结果
  • GS: 检查几何着色器生成的新图元
  • RS: 查看光栅化后的片段
  • FS: 调试片段着色器计算
  • FB: 查看最终帧缓冲区输出(缓冲,s结尾的是shader)
  • CS: 分析计算着色器结果(独立管线,不在图形管线中)

可以修改查看shader

Texture、mesh

texture可以看到图像的绘制过程,每个函数的执行过程

mesh,可以查看输如何输出数据,右键调试可以定位到shader的代码位置

管线中的像素测试

裁剪测试(Scissor Test)→ 模板测试(Stencil Test)→ 深度测试(Depth Test)→ alpha测试(Alpha Test)→ 混合(Blending,非测试但影响最终像素)

vao 顶点属性,vbo顶点数据

exception

  • qtcore receiver->d_func()->threadData.loadRelaxed()->thread.loadAcquire()==mainthread() assert异常程序崩溃

鼠标移动在ui上导致的,先(alt+i)忽略,使用键盘快捷键代替

  • renderdoc context not created via createcontextattribs opengl capture fail

ui上提示,opengl使用的3.2+版本,osg程序默认的opengl版本是1.0

SET(DEFAULT_GL_CONTEXT_VERSION "1.0")改成3.3就好了

相关推荐
mxwin10 小时前
Unity Shader FLOWMAP岩浆流动制作案例
unity·游戏引擎·shader·uv
mxwin14 小时前
Unity Shader 用 Ramp 贴图实现薄膜干涉效果
unity·游戏引擎·贴图·shader·uv
mxwin1 天前
Unity Shader · UV 技术 用 UV 坐标打造水波涟漪效果
unity·游戏引擎·shader·uv
We་ct6 天前
React Render 与 Commit 阶段详解
前端·react.js·面试·前端框架·react·commit·render
gis分享者9 天前
学习threejs,实现带有GLSL着色器的动画
动画·threejs·着色器·glsl·shadermaterial·effectcomposer·unrealbloompass
gis分享者23 天前
学习threejs,实现山谷奔跑效果
threejs·着色器·glsl·shadermaterial·unrealbloompass·山谷奔跑·simplex
千里马-horse1 个月前
Building a Simple Engine -- Mobile Development -- Conclusion
pipeline·shader·rendering·vulkan
千里马-horse1 个月前
Building a Simple Engine -- Mobile Development -- Performance optimizations
shader·内存优化·rendering·纹理优化·vulkan·压缩格式
weixin_409383121 个月前
cocosshader像素风沙消散
shader·cocos
千里马-horse1 个月前
Building a Simple Engine -- Tooling -- Introduction
pipeline·shader·rendering·vulkan