Skip to main content

Timeline for Unexpected lighting on cube

Current License: CC BY-SA 4.0

15 events
when toggle format what by license comment
Jun 7, 2018 at 17:39 vote accept summerbulb
Jun 7, 2018 at 14:25 answer added florent teppe timeline score: 2
Jun 1, 2018 at 11:39 comment added Ian Young I would recommend that you simplify your cube mesh. Then, whilst debugging, make sure than the vao data is correct prior to copying it to the gpu. A cube will only need 8 vertices and 6 normals if you don't plan on texturing it. Given the dragon is being renderered and lit correctly, I would surmise that the cube data is mangled.
May 31, 2018 at 19:46 comment added summerbulb @Pikalek Please see new pictures and edit comment
May 31, 2018 at 19:45 history edited summerbulb CC BY-SA 4.0
Change pictured. Edit comment
May 31, 2018 at 19:01 comment added summerbulb @Pikalek Tried that. Nothing happens.
May 31, 2018 at 18:56 comment added Pikalek @summerbulb you have several vertex normals with -0.0 coords; what happens if you manually change them to 0.0?
May 31, 2018 at 15:40 history edited summerbulb CC BY-SA 4.0
added 28 characters in body
May 31, 2018 at 14:32 comment added summerbulb @Bálint I don't understand... :/
May 31, 2018 at 14:03 history edited summerbulb CC BY-SA 4.0
Add some specifics regarding my progress, throughout the tutorial
May 31, 2018 at 13:58 comment added Pikalek When linking the tutorials, please be specific. The link you gave goes to the first lesson, which doesn't appear to have much in common with the code you posted.
May 31, 2018 at 11:36 history edited summerbulb CC BY-SA 4.0
Add some info and screenshots.
May 31, 2018 at 7:38 comment added Bálint Try disabling specular for a short time, that usually causes problems with the wrong values
May 31, 2018 at 7:37 review First posts
May 31, 2018 at 8:31
May 31, 2018 at 7:35 history asked summerbulb CC BY-SA 4.0