Skip to content

Commit

Permalink
fixing shinniness image
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciogonzalezvivo committed Mar 17, 2015
1 parent 0116c2d commit b3f800f
Show file tree
Hide file tree
Showing 7 changed files with 1,624 additions and 1,042 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
Binary file added material/002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added material/020.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added material/200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions material/material.frag
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ void main(){
vec3 normal = normalize(sphereNormal(st)*2.0-1.0);
vec3 pos = normal*1.0;

material.emission = vec3(0.9);
material.emission = vec3(0.0);
material.bounce.ambient = vec3(0.0);
material.bounce.diffuse = vec3(0.0);
material.bounce.specular = vec3(0.0);
material.shininess = 0.0;
material.bounce.specular = vec3(1.0);
material.shininess = 200.0;
computeLight(pLight,material,pos,normal,l);

color = calculate(material,l);
Expand Down
2,659 changes: 1,620 additions & 1,039 deletions material/materials.ai

Large diffs are not rendered by default.

Binary file modified material/shininess.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b3f800f

Please sign in to comment.