Object Oriented OpenGL in C\
July 30, 2025 ยท View on GitHub
:green_apple:CSharpGL is an Object-Orinted OpenGL wrapper in pure C# without any third party support.
It abstracts concepts(buffer, shader, state, matrix, vector, texture, canvas, scene, camera, light, picking, text, GUI ...) from OpenGL API and common requirements.
More than 30 simple demonstration projects show how to use CSharpGL. And there will be more.
OpenGL via C# available now!
Stencil Shadow Volume.

Skeleton Animation.

Physically Based Rendering.

WorldSpace Billboard.

Picking.
Get to know how CSharpGL\OpenGL implements picking and draging with modern OpenGL!

Front To Back Peeling.

Environment Mapping.

VolumeRendering.Raycast.

Order-Independent Transparency.

:question:Support or Contact
Check my blog here or join my QQ Group
.
simple guide
if (use OpenGL in C#) {
add ref to CSharpGL.dll
if (render with GPU) {
if (on Windows) {
add ref to CSharpGL.Windows.dll
}
else { not implemented. }
}
if (render with SoftGLImpl) {
add ref to CSharpGL.SoftGL.dll
add ref to SoftGLImpl.dll // work as graphics card
}
}
else {
go away.
}
