# furzide/renderdragoncubemapfix architecture

> Architecture diagram of the GitHub repository furzide/renderdragoncubemapfix, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/furzide/renderdragoncubemapfix
- Repository: https://github.com/furzide/renderdragoncubemapfix

## Overview

RenderDragonCubemapFix is a small custom shader intended to correct cubemap positioning in Minecraft Bedrock Edition’s RenderDragon engine, bringing it closer to OptiFine cubemaps on Java Edition. The repository contains vertex, varying-definition, and fragment shader sources, but no excerpts were provided to establish their internal data flow or execution order. The README documents the shader’s purpose, not how the engine loads or connects its individual stages.

Main entry points: [`LegacyCubemap/src`](https://github.com/furzide/renderdragoncubemapfix/tree/main/LegacyCubemap/src) (Shader sources)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shader["Cubemap shader"]
  node_shader_sources["Shader sources"]
end

node_renderdragon["RenderDragon engine"]

node_renderdragon -->|"uses custom shader"| node_shader_sources

click node_shader_sources "https://github.com/furzide/renderdragoncubemapfix/tree/main/LegacyCubemap/src"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_shader_sources toneBlue
class node_renderdragon toneIndigo
```

## Components

### Cubemap shader

- [Shader sources](https://github.com/furzide/renderdragoncubemapfix/tree/main/LegacyCubemap/src): `LegacyCubemap/src`

### Other components

- **RenderDragon engine**

## Connections

- RenderDragon engine → Shader sources: uses custom shader (evidence: `README.md`)
