Revert "Evas 3D: Fix shadow map shader"

Summary:
This reverts commit 4af7a947a6.
There is more convenient way remove noise in vector gl_Fragcolor at shadow_map
shader, because current decision lead to useless issue with shadow effect.
Need just add default initialize at the begining in shader file smth like that
gl_FragColor = vec4(1);
I suppose do that after this patch.

Reviewers: cedric, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2290
This commit is contained in:
Oleksandr Shcherbina 2015-04-06 10:45:42 +09:00 committed by ChunEon Park
parent 6cd13509b6
commit e2f11bf4cb
2 changed files with 2 additions and 2 deletions

View File

@ -1188,7 +1188,7 @@ static const char const shadow_map_frag_glsl[] =
"#endif //DIFFUSE_TEXTURE\n"
"#endif //DIFFUSE_TEXTURE_BLEND\n"
"#endif //ALPHA_TEST_ENABLED\n"
" gl_FragColor = vec4(gl_FragCoord.z);\n"
" gl_FragColor.r = gl_FragCoord.z;\n"
"}\n";
static const char const color_pick_vert_glsl[] =

View File

@ -36,5 +36,5 @@ void main() {
#endif //ALPHA_TEST_ENABLED
gl_FragColor = vec4(gl_FragCoord.z);
gl_FragColor.r = gl_FragCoord.z;
}