google-code-export / papervision3d

Automatically exported from code.google.com/p/papervision3d
1 stars 1 forks source link

Weird shader behaviour possibly when light perpendicular to plane #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create plane @0,0,0 100x100 2x2
2. create light @0,0,-1500
3.

What is the expected output? What do you see instead?
Expected: shading
Instead: Black with hard gradient in the center:
http://home.planet.nl/~harte628/screenie.jpg

What version of the product are you using? On what operating system?
Branch revision 677

Please provide any additional information below.

Original issue reported on code.google.com by richardv...@gmail.com on 4 Aug 2008 at 8:28

GoogleCodeExporter commented 9 years ago
I'll look into it.

Original comment by r.hauw...@gmail.com on 7 Aug 2008 at 5:32

GoogleCodeExporter commented 9 years ago
It was only happening with gouraud shaded material. That issue is now fixed. 
Also
fixed some error in vertex normal calculation. Thank you for reporting.

Original comment by r.hauw...@gmail.com on 8 Aug 2008 at 10:34