git-svn-id: svn://db.shs.com.ru/libs@61 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -129,9 +129,9 @@ void main(void) {
|
||||
|
||||
sh_pow = 1. / max((1. - v1.w), 0.0001);
|
||||
sh_mul = max(1. - v1.w, 0.0001);
|
||||
//for (int i = 0; i < 8; ++i)
|
||||
// calcLight(i, n, v, v2);
|
||||
calcLight(0, n, v, v2);
|
||||
for (int i = 0; i < 8; ++i)
|
||||
calcLight(i, n, v, v2);
|
||||
// calcLight(0, n, v, v2);
|
||||
|
||||
qgl_FragData[0].rgb = li * dc + si * v2.rgb + v3.rgb + texelFetch(t_pp, tc, 0).rgb;
|
||||
//qgl_FragData[0].rgb = li + vec3(texelFetch(t_pp, tc, 0).xyz);
|
||||
|
||||
Reference in New Issue
Block a user