Title: GI issues Post by: Crist-JRoger on January 25, 2017, 03:15:55 PM Found some bugs in all GI tracers: 1. Hacked shadows - looks like reflection (not news i think) So caustics on shadow from glass ball looks good. (http://orig09.deviantart.net/cde2/f/2017/025/b/7/shadow_issue1_by_c_jr-dawo7hb.jpg) Found line Code: if(bLightRay)drl*=abs(m.refrRefl)+(GloubiGoulba*GloubiGoulba); else fgrl+=hit.x; Code: if(bLightRay)drl*=abs(m.refrRefl)-(GloubiGoulba*GloubiGoulba); else fgrl+=hit.x; (http://orig09.deviantart.net/f3ad/f/2017/025/a/3/shadow__by_c_jr-dawo7hm.jpg) with some ambient light (http://orig05.deviantart.net/2b33/f/2017/025/4/0/shadow_amb_by_c_jr-dawo7im.jpg) 2. Emissive light. Artifacts when use it with small lightsize. See: 1st no emissive; 2 - emissive enabled, small size; 3 - emissive enabled, large size; 4 - two emissive lights looks crazy (http://orig09.deviantart.net/9721/f/2017/025/3/d/emissive_issue_by_c_jr-dawo7j3.jpg) Any ideas how to fix? |