mirror of
https://github.com/overte-org/overte.git
synced 2025-08-15 16:09:34 +02:00
22 lines
486 B
Text
22 lines
486 B
Text
<@include gpu/Config.slh@>
|
|
<$VERSION_HEADER$>
|
|
// Generated on <$_SCRIBE_DATE$>
|
|
// fragment shader
|
|
//
|
|
// Copyright 2015 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
uniform sampler2D colorMap;
|
|
|
|
in vec4 _color;
|
|
in vec2 _texCoord0;
|
|
|
|
out vec4 outFragColor;
|
|
|
|
void main(void) {
|
|
vec4 color = texture(colorMap, _texCoord0);
|
|
outFragColor = color * _color;
|
|
}
|