3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 16:15:47 +02:00

Fix parabola rendering on AMD GPUs

This commit is contained in:
Brad Davis 2018-08-21 16:58:38 -07:00
parent d3fd2132ce
commit e9683011f8

View file

@ -9,10 +9,10 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
<@include DeferredBufferWrite.slh@>
layout(location=0) in vec4 _color;
layout(location=0) out vec4 _fragColor;
void main(void) {
_fragColor = _color;
packDeferredFragmentUnlit(vec3(1.0, 0.0, 0.0), 1.0, _color.rgb);
}