mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-01-14 23:11:06 +00:00
12 lines
184 B
C++
12 lines
184 B
C++
// Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
|
|
|
|
precision highp float;
|
|
|
|
in float v_depth;
|
|
|
|
#include <packing>
|
|
|
|
void main () {
|
|
gl_FragColor = packDepthToRGBA(v_depth);
|
|
}
|