Provide a higher level of code with Qt 3D Node Editor and Shader Generator
summary
Since Qt 5.12 a node editor serializes shader graphs into dotgraph files that define node prototypes and API-specific translation rules (examples provided for OpenGL ES2 and desktop core 3.0). A shader program builder reads those graphs, generates GLSL (with simple optimizations like removing temporaries), and emits vertex and fragment programs for Qt 3D. The demo graph implements exposure, gamma correction and optional tone mapping via layers. The editor is usable in-source but the GUI tool is not yet published as a Qt Creator plugin.
AI-written summary · about
chapters (9)
- 0:00Introduction to shaders
- 0:36Graphics pipeline explained
- 3:42Shader code and QT API
- 7:38Shader generation challenges
- 10:56Node editor concepts
- 15:03Demonstration of node editor
- 21:15Integrating graphs into QT
- 22:51Graph layers and future ideas
- 25:06Q&A and concluding remarks
related talks
49mThree.js Shading Language: How the Node System in Three.js Works
27mQML Rapid Prototyping
45mSceneKit, Metal, and OpenGL
23mHello GPU
41mBuilding a Graphical IDE in Elm/Purescript
58mGenerating OpenCL/CUDA source code from C++ expressions in VexCL
27mNative Web Apps: React and WebAssembly to Rewrite Native Apps
30mNative Web Apps: React, JS & WebAssembly to rewrite native apps
