{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/b2b05be232bd2466f3c65fd9be58f988?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b2b05be232bd2466f3c65fd9be58f988","url":"https://api.github.com/users/Jerhammar","login":"Jerhammar","id":1164435},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-01T13:33:45Z","comments":8,"closed_at":null,"url":"https://api.github.com/repos/xissburg/XBPageCurl/issues/13","body":"When the curled face has transparacy the shadow gets multiplied all over the screen.\r\nscreenshot: http://www.martinjansson.se/xbpagecurl_shadow_issue.png","html_url":"https://github.com/xissburg/XBPageCurl/issues/13","number":13,"title":"Strange shadow when transparent","id":2108384,"created_at":"2011-11-01T09:07:06Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/b2b05be232bd2466f3c65fd9be58f988?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b2b05be232bd2466f3c65fd9be58f988","url":"https://api.github.com/users/Jerhammar","login":"Jerhammar","id":1164435},"updated_at":"2011-11-01T13:33:45Z","url":"https://api.github.com/repos/xissburg/XBPageCurl/issues/comments/2590227","body":"Yeah. the problem is to get it faded, i managed to get it faded one way now im trying to figure out how to flip the shadow 180°\r\n\r\nif (d < 2.0*u_cylinderRadius) {\r\n        float a = (d*(1.0/u_cylinderRadius))/M_PI;\r\n        //l = (cos(a)+1.0)*0.5;\r\n        l = (a)*0.5;\r\n    }","id":2590227,"created_at":"2011-11-01T13:33:45Z"}}