mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-05 15:56:00 +02:00
SDL/OGL platform improvements
This commit is contained in:
parent
213aea8c82
commit
258a6653f9
16 changed files with 711 additions and 1141 deletions
15
IDE/dist/shaders/Std_font.vert
vendored
Normal file
15
IDE/dist/shaders/Std_font.vert
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
uniform mat4 screenMatrix;
|
||||
|
||||
attribute vec4 position;
|
||||
attribute vec2 texCoord0;
|
||||
attribute vec4 color;
|
||||
|
||||
varying vec4 varying_color;
|
||||
varying vec2 varying_texCoord0;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = screenMatrix * position;
|
||||
varying_color = vec4(color.b * color.a, color.g * color.a, color.r * color.a, color.a);
|
||||
varying_texCoord0 = texCoord0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue