mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 11:05:36 -05:00
13 lines
195 B
Text
13 lines
195 B
Text
|
#version 300 es
|
||
|
precision mediump float;
|
||
|
uniform sampler3D tex;
|
||
|
in vec3 uv;
|
||
|
out lowp vec4 _fragColor;
|
||
|
void main ()
|
||
|
{
|
||
|
_fragColor = texture (tex, uv);
|
||
|
}
|
||
|
|
||
|
|
||
|
// inputs: 1, stats: 0 alu 1 tex 0 flow
|