mirror of
https://github.com/overte-org/overte.git
synced 2025-04-27 10:56:22 +02:00
20 lines
476 B
GLSL
20 lines
476 B
GLSL
#version 120
|
|
|
|
//
|
|
// model_translucent.frag
|
|
// fragment shader
|
|
//
|
|
// Created by Andrzej Kapolka on 9/19/14.
|
|
// Copyright 2014 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
|
|
//
|
|
|
|
// the diffuse texture
|
|
uniform sampler2D diffuseMap;
|
|
|
|
void main(void) {
|
|
// set the diffuse data
|
|
gl_FragData[0] = gl_Color * texture2D(diffuseMap, gl_TexCoord[0].st);
|
|
}
|