Added support for render to texture (use RenderTexture2D)
Now it's possible to render to texture, old postprocessing system will be removed on next raylib version.
This commit is contained in:
parent
1136d4222f
commit
66b096d978
1 changed files with 210 additions and 13 deletions
|
|
@ -1,11 +1,12 @@
|
|||
#version 330
|
||||
|
||||
in vec2 fragTexCoord;
|
||||
in vec4 fragTintColor;
|
||||
|
||||
out vec4 fragColor;
|
||||
|
||||
uniform sampler2D texture0;
|
||||
uniform vec4 fragTintColor;
|
||||
//uniform vec4 fragTintColor;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue