Vital
Loading...
Searching...
No Matches
shaders.cpp File Reference
#include "shaders.h"
#include "JuceHeader.h"
#include "open_gl_component.h"
#include "synth_constants.h"

Go to the source code of this file.

Macros

#define HIGHP
 
#define MEDIUMP
 
#define LOWP
 
#define FILTER_RESPONSE_UNIFORMS
 
#define FILTER_RESPONSE_CONSTANTS
 
#define RESPONSE_TOOLS
 

Macro Definition Documentation

◆ FILTER_RESPONSE_CONSTANTS

#define FILTER_RESPONSE_CONSTANTS
Value:
"const " MEDIUMP " float kMinMidiNote = 8.0;\n" \
"const " MEDIUMP " float kPi = 3.14159265359;\n" \
"const " MEDIUMP " float kMaxMidiNote = 137.0;\n" \
"const " MEDIUMP " float kMidi0Frequency = 8.1757989156;\n" \
"const " MEDIUMP " float kMinDb = -30.0;\n" \
"const " MEDIUMP " float kMaxDb = 20.0;\n" \
#define MEDIUMP
Definition shaders.cpp:14

◆ FILTER_RESPONSE_UNIFORMS

#define FILTER_RESPONSE_UNIFORMS
Value:
"uniform " MEDIUMP " float midi_cutoff;\n" \
"uniform " MEDIUMP " float resonance;\n" \
"uniform " MEDIUMP " float drive;\n" \
"uniform " MEDIUMP " float mix;\n" \
"uniform " MEDIUMP " float db24;\n" \
"uniform " MEDIUMP " float stage0;\n" \
"uniform " MEDIUMP " float stage1;\n" \
"uniform " MEDIUMP " float stage2;\n" \
"uniform " MEDIUMP " float stage3;\n" \
"uniform " MEDIUMP " float stage4;\n"

◆ HIGHP

#define HIGHP

◆ LOWP

#define LOWP

◆ MEDIUMP

#define MEDIUMP

◆ RESPONSE_TOOLS

#define RESPONSE_TOOLS