git-svn-id: svn://db.shs.com.ru/libs@71 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -135,7 +135,7 @@ void main(void) {
|
||||
calcLight(i, n, v, v2);
|
||||
calcLight(0, n, v, v2);
|
||||
|
||||
qgl_FragData[0] = vec4(li * dc + si * v2.rgb + v3.rgb + texelFetch(t_pp, tc, 0).rgb, v0.w);
|
||||
qgl_FragData[0] = vec4(max(vec3(0), li * dc + si * v2.rgb + v3.rgb + texelFetch(t_pp, tc, 0).rgb), v0.w);
|
||||
//qgl_FragData[0].rgb = vec3(abs((v0.w)/50));
|
||||
//qgl_FragData[0].rgb = li + vec3(texelFetch(t_pp, tc, 0).xyz);
|
||||
//shd = shd - shp.w;
|
||||
|
||||
Reference in New Issue
Block a user