Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Shaders

Samuel Rasquinha edited this page Jun 17, 2020 · 1 revision

What are Shaders ?

Shaders are small programs that run on the GPU and not the CPU. The vertex shader executes for every vertex and the fragment shader executes for every potential pixel.

Shaders

Custom shaders can be added to any Object or Background. Please look at the vertex attributes and how the SpriteBatcher sends data to the vertex and fragment shader.

Check out :

SpriteBatcher.cpp and SpriteBatcher.h

Clone this wiki locally