diff options
| author | Ray <[email protected]> | 2019-01-10 11:25:26 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-01-10 11:25:26 +0100 |
| commit | 55f8dbc755c2e31d2112e71439fef0d31e8090a6 (patch) | |
| tree | e55e8b27cf4ef488167acd7bac9ec8a62c92ac97 /examples/shaders/resources | |
| parent | 7c4a0f963dfc6f089337158ea6b78b84f4022368 (diff) | |
| download | raylib-55f8dbc755c2e31d2112e71439fef0d31e8090a6.tar.gz raylib-55f8dbc755c2e31d2112e71439fef0d31e8090a6.zip | |
WARNING: Redesigned SetShaderValue()
Diffstat (limited to 'examples/shaders/resources')
| -rw-r--r-- | examples/shaders/resources/shaders/glsl330/palette-switch.fs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/resources/shaders/glsl330/palette-switch.fs b/examples/shaders/resources/shaders/glsl330/palette-switch.fs index 178c42c5..61b532ed 100644 --- a/examples/shaders/resources/shaders/glsl330/palette-switch.fs +++ b/examples/shaders/resources/shaders/glsl330/palette-switch.fs @@ -16,7 +16,7 @@ out vec4 finalColor; void main()
{
// Texel color fetching from texture sampler
- vec4 texelColor = texture(texture0, fragTexCoord) * fragColor;
+ vec4 texelColor = texture(texture0, fragTexCoord)*fragColor;
// Convert the (normalized) texel color RED component (GB would work, too)
// to the palette index by scaling up from [0, 1] to [0, 255].
|
