Revision 7f30ed38
Added by Leszek Koltunski almost 6 years ago
src/main/res/raw/oit_build_fragment_shader.glsl | ||
---|---|---|
80 | 80 |
curr = u_Records[prev]; |
81 | 81 |
} |
82 | 82 |
} |
83 |
|
|
84 |
discard; |
|
85 | 83 |
} |
86 | 84 |
} |
87 | 85 |
|
... | ... | |
97 | 95 |
|
98 | 96 |
void main() |
99 | 97 |
{ |
100 |
vec4 frag = texture(u_Texture , v_TexCoordinate);
|
|
98 |
vec4 frag = texture(u_Texture , v_TexCoordinate);
|
|
101 | 99 |
float depth= texture(u_DepthTexture, v_TexCoordinate).r; |
102 | 100 |
|
103 | 101 |
if( frag.a > 0.95 ) |
Also available in: Unified diff
OIT: more bugfixes