This repository contains several tutorials and examples which show how to use LLGL. Note that you need to set the working directory to <Your-LLGL-Repository>/examples/Cpp/<Example>
in order to get your examples running. For the first example, this could be /Users/JohnDoe/LLGL/examples/Cpp/HelloTriangle
or C:\Users\JohnDoe\LLGL\examples\Cpp\HelloTriangle
for instance.
Getting started tutorial where a single multi-colored triangle is rendered.
Hardware tessellation for rendering highly detailed geometry.
Tutorial how to integrate ImGui into an LLGL project for UI rendering and event handling.
Try it with WebGL
Simple texturing and sampler state example.
Try it with WebGL
Example how to render fonts efficiently in batched draw calls.
Shows how to use Query objects and conditional rendering for occlusion culling.
Try it with WebGL
Simple render target example with optional multi-sample texture (Texture2DMS/ sampler2DMS).
Shows the following rendering techniques: multiple render contexts (one window each), rendering simultaneously into multiple viewports, geometry shader.
Small example with a compute shader and a storage buffer for the indirect draw command.
Practical example of hardware instancing by rendering tens of thousands of different textured plants instances.
Try it with WebGL
Practical example of a glow effect with post-processing and the usage of several shaders, render targets and graphics pipelines.
Experimental example of using multiple renderers at once (only supported on Win32 platform).
Try it with WebGL
Practical example of standard shadow-mapping technique.
Try it with WebGL
Rendering a portal using the stencil buffer.
Try it with WebGL
Small animation example with orthogonal projection.
Example of generating perlin noise into 3D texture with a glitter effect and volume rendering.
Practical example of multiple compute shaders for position based dynamics.
Try it with WebGL
Example of a small puzzle game. Easy to add new levels via text files.