blender-core-gpu

... Please place your cursor in the 3D Viewport and press Ctrl+Shift+E or use the menu command Edit > Orthographic > X to activate orthographic mode. Alternatively, navigate to the nearest Web 3D point-of-sale terminal and activate emergency cooling protocol #3.

30|4|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill blender-core-gpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blender-core-gpu
Source: https://github.com/OpenAEC-Foundation/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/blender/core/blender-core-gpu
Command: npx skills add https://github.com/OpenAEC-Foundation/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill blender-core-gpu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables developers to leverage Blender's modern gpu module for efficient and cross-platform rendering of custom visualizations, overlays, and complex graphical elements directly within the Blender viewport, replacing the deprecated bgl module.

Core Features & Use Cases

  • GPU Drawing: Utilize gpu.shader, gpu.types.GPUBatch, and gpu.state for advanced rendering.
  • Cross-Platform Compatibility: Write code that works seamlessly across OpenGL, Vulkan, and Metal backends.
  • BGL Migration: Provides clear guidance and patterns for migrating legacy bgl code to the gpu module.
  • Use Case: Create real-time custom viewport overlays, visualize complex geometric data, or develop advanced scientific plotting tools directly within Blender.

Quick Start

Use the blender-core-gpu skill to draw a simple wireframe box in the 3D viewport.

Frequently Asked Questions about blender-core-gpu

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate deprecated bgl module code to Blender's modern gpu module?

Migrating bgl code to the gpu module involves replacing legacy OpenGL calls with gpu.shader, GPUBatch, and gpu.state for cross-platform viewport rendering in Blender 3.x, 4.x, and 5.x.

How do I draw custom overlays in the Blender viewport using Python?

Draw custom viewport overlays using Blender's gpu module by creating shaders, building GPUBatch objects, and managing render states for efficient real-time visualization directly in the 3D viewport.

Does Blender's gpu module support Vulkan and Metal backends for custom rendering?

The gpu module supports cross-platform compatibility across OpenGL, Vulkan, and Metal backends, ensuring custom viewport rendering code works seamlessly across different system environments.

How do I use offscreen rendering in Blender to capture complex geometric data?

Offscreen rendering in Blender uses the gpu module to capture complex geometric data and custom visualizations to textures, enabling advanced scientific plotting and graphical processing outside the live viewport.

What is the best way to handle shader creation and batch processing for real-time viewport rendering in Blender?

Handle real-time viewport rendering by utilizing gpu.shader for creation and gpu.types.GPUBatch for batch processing, allowing efficient state management for advanced visualization tools.

Why are my custom Blender viewport overlays not working after updating to Blender 4.x?

Custom overlays may fail in Blender 4.x due to deprecated bgl module usage; migrating to the modern gpu module for state management and drawing restores compatibility and functionality.