
渲染
图形 api
不如学也
-
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
gtx960 有多少wrap
Warp 是一个逻辑上的线程组,包含 32 个线程。Warp 是 GPU 硬件调度的最小单位,而不是由 CUDA 核心直接组成的。每个线程在执行时会映射到一个 CUDA 核心上,因此 一个 Warp 的 32 个线程需要 32 个 CUDA 核心来同时执行。原创 2025-03-16 07:28:18 · 390 阅读 · 0 评论 -
vulkan Semaphore和 Fence同步
【代码】vulkan Semaphore和 Fence同步。原创 2025-01-12 22:44:38 · 203 阅读 · 0 评论 -
VkDrawIndexedIndirectCommand firstIndex 和 firstInstance 这两个参数区别区别
【代码】VkDrawIndexedIndirectCommand firstIndex 和 firstInstance 这两个参数区别区别。原创 2024-11-27 22:56:46 · 336 阅读 · 0 评论 -
图形渲染性能优化
设置可见性等, 不需要重新build command buffer。原创 2024-11-24 21:45:33 · 1199 阅读 · 0 评论 -
textureLod lod的确定
glsl texture lod原创 2024-11-24 12:32:58 · 401 阅读 · 0 评论 -
sampler2DShadow
需要注意的是,不同版本的GLSL中语法可能略有不同,比如在较老的版本中使用shadow2D()函数,而新版本中使用texture()函数。在GLSL中,针对阴影贴图(Shadow Map)采样有专门的采样器类型。阴影采样器在采样时需要一个额外的比较值(comparison value)2。与普通的sampler2D不同,它会执行深度比较操作2。必须声明为uniform变量或作为函数参数3。返回值范围在[0,1]之间,表示阴影强度。用于立方体阴影贴图采样。适用于全方位的阴影映射。用于2D阴影贴图采样。原创 2024-11-24 13:02:11 · 346 阅读 · 0 评论 -
大气渲染截图
原创 2023-05-30 22:54:52 · 142 阅读 · 0 评论 -
图形学技术博客
主流抗锯齿方案详解(一)MSAA hierarchical-z-map-based-occlusion-culling游戏架构设计:高性能并行编程GAMES001-图形学中的数学原创 2024-10-09 22:10:07 · 396 阅读 · 0 评论 -
DescriptorSets
【代码】DescriptorSets。原创 2024-10-07 16:43:52 · 181 阅读 · 0 评论 -
vulkan renderdoc截帧报错
报这个错是 因为加载不到vulkan的dll copy一份windows目录就行。原创 2024-09-11 23:06:11 · 363 阅读 · 0 评论 -
glActiveTexture和glBindTexture的区别和联系
原文链接 问: From what I gather, glActiveTexture sets the active “texture unit”. Each texture unit can have multiple texture targets (). 据我所知,glActiveTexture 设置激活的纹理单元。每一个纹理单元有多个纹理目标选择(GL_TEXTURE_1D, 2D,翻译 2017-08-04 21:57:01 · 25083 阅读 · 1 评论 -
glDepthMask 使用时遇到的问题
原文 http://stackmirror.cn/page/3xwgq8v46k4 或 https://stackoverflow.com/questions/3388294/opengl-question-about-the-usage-of-gldepthmask问 : I have rendered an objectA in a scene as follows. The scene翻译 2017-08-03 21:53:44 · 3390 阅读 · 0 评论 -
Z-fighting
Z-fighting, also called stitching, is a phenomenon in 3D rendering that occurs when two or more primitives have similar or identical values in the z-buffer. It is particularly prevalent with coplanar p翻译 2017-08-03 23:22:26 · 543 阅读 · 0 评论 -
模板测试练习 选中效果
完整程序 https://github.com/WaldenPonder/opengl-test/tree/master/t004#include "stdafx.h"#include "../common/common.out.h"int _tmain(int argc, _TCHAR* argv[]){ GLfloat cubePts[180]; tools::GetCub原创 2017-07-06 22:35:07 · 330 阅读 · 0 评论 -
渲染到纹理
/* 帧缓冲, 渲染到纹理*/#include "stdafx.h"#include "../common/common.out.h"/*VAO VBO EBO 纹理*/using namespace std;float color1 = 0.1;float color2 = 0.3;float color3 = 0.4;bool g_b_line = false;void原创 2017-07-06 22:36:25 · 294 阅读 · 0 评论 -
Phong光照
顶点着色器#version 330 corelayout (location = 0) in vec3 aPosition;layout (location = 1) in vec2 aCoor;layout (location = 1) in vec3 aNormal;uniform mat4 uModel;uniform mat4 uView;uniform mat4 uProject原创 2017-07-06 22:31:05 · 365 阅读 · 0 评论