📓
engine
  • Kakara Engine
  • Debugging
  • Getting Started
    • Getting the Engine
    • A New Game
    • Game Items
    • Components
    • Textures
    • Model Loading
    • The Camera
    • Player Input
      • Practical use of the Input
    • Lighting
    • User Interface
  • Scene System
    • Scene System
  • Render System
    • Extensible Render Pipeline
      • Standard Shader Format
      • Voxel Shader Format
      • Particle Shader Format
      • Lighting Shader Format
      • Custom Pipelines
  • Java Documentation
Powered by GitBook
On this page
  • Pipelines
  • Shaders
  • Class Overview

Was this helpful?

  1. Render System

Extensible Render Pipeline

PreviousScene SystemNextStandard Shader Format

Last updated 4 years ago

Was this helpful?

The Extensible Render Pipeline is a system that allows for custom render pipelines and shaders (ERP). The ERP was introduced in Pre-Release 4. The ERP allows developers to add on to the engine and create custom pipelines for their needs.

Pipelines

Pipelines controls the way objects are sent to the GPU for rendering at the low level. There are three default pipelines in the engine: Standard, Voxel, and Particle. (Other systems such as UI do not use the pipeline system.)

Pipelines require the use of low or mid level API. It is also possible to use the OpenGL API directly in a pipeline for custom controls.

Shaders

Shaders control how the objects are rendered on the GPU. All shaders are written in GLSL. There are three default shaders in the engine: Standard, Voxel, and Particle. A shader and pipeline rely on each other, therefore, a shader must be compatible with a pipeline in order to work. The engine has three different shader formats that can be used. You can view each format on their own page:

In order to use your own format you will need to make a custom render pipeline (and possibly a mesh). It is possible to make a custom shader format support the default lighting by using the in your custom shader.

Class Overview

Custom Pipelines
Standard Shader Format
Voxel Shader Format
Particle Shader Format
Lighting Format
Graphics
RenderPipeline
ShaderProgram
Shader
Transformation
PipelineManager
ShaderManager