Commit 52de728f authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent ab8e8b85
......@@ -48,9 +48,13 @@ void directionalLight( in int i, in vec3 normal, in float shininess,
nDotHV = max( 0.0, dot( normal, H ) );
if( nDotVP == 0.0 )
{
pf = 0.0;
}
else
{
pf = pow( nDotHV, gl_FrontMaterial.shininess );
}
ambient += gl_LightSource[i].ambient;
diffuse += gl_LightSource[i].diffuse * nDotVP;
......
......@@ -255,7 +255,7 @@ float getSSAO()
* The total influence of SSAO.
*/
//uniform float u_lineaoTotalStrength = 2.5; // lines
uniform float u_lineaoTotalStrength = 2.5; // brain lines
uniform float u_lineaoTotalStrength = 2.5; // brain lines
//uniform float u_lineaoTotalStrength = 2.25; // brain lines video
//uniform float u_lineaoTotalStrength = 1.5; // smallfibs
//uniform float u_lineaoTotalStrength =2.0; // smallfibs-corticospinal-tubes
......
......@@ -99,7 +99,7 @@ void main()
float d = dot( u_planePoint, n );
float dist = dot( gl_PositionIn[0].xyz, n ) - d;
if ( abs( dist ) >= u_distance )
if( abs( dist ) >= u_distance )
{
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment