随笔分类 -  OpenGL

摘要:Reducing Shading on GPUs using Quad-Fragment Merging 阅读全文
posted @ 2023-03-14 11:36 fndefbwefsowpvqfx
摘要:To understand how these instructions work, it helps to understand the basic execution architecture of GPUs and how fragment programs map to that archi 阅读全文
posted @ 2023-03-14 11:20 fndefbwefsowpvqfx
摘要:Available only in the fragment language, gl_FragCoord is an input variable that contains the window relative coordinate (x, y, z, 1/w) values for the 阅读全文
posted @ 2022-03-22 14:51 fndefbwefsowpvqfx
摘要:Does clipping in openGL pipeline happen before or after primitive assembly? https://stackoverflow.com/questions/49860946/does-clipping-in-opengl-pipel 阅读全文
posted @ 2018-07-24 13:59 fndefbwefsowpvqfx
摘要:C TypeBitdepthDescriptionCommon Enum GLboolean 1+ A boolean value, either GL_TRUE or GL_FALSE GLbyte 8 Signed, 2's complement binary integer GL_BYTE G 阅读全文
posted @ 2018-05-21 20:04 fndefbwefsowpvqfx
摘要:#include #include #include #include #include void ShowFPS() { ImGui::SetNextWindowSize(ImVec2(300, 30), ImGuiCond_Appearing); ImGui::SetNextWindowPos(ImVec2(0, 0), ImGuiCond_Appearing);... 阅读全文
posted @ 2017-12-17 13:48 fndefbwefsowpvqfx
摘要:#include <imgui.h> #include <imgui_impl_glfw_gl3.h> #include <cstdio> #include <cmath> #include <glad/glad.h> #include <GLFW/glfw3.h> static void erro 阅读全文
posted @ 2017-11-01 13:44 fndefbwefsowpvqfx
摘要:A A A A A A A A A A A A A A A A A A A A A A A A A A ... 阅读全文
posted @ 2017-10-06 21:24 fndefbwefsowpvqfx