[osg-users] Raytraced shader code
Clement.Chu at csiro.au
Clement.Chu at csiro.au
Thu Sep 14 18:57:59 PDT 2017
Hi all,
I am using volume rendering with ray traced technique. I saw black color along the edge of image. I checked the shader code. There is a variable called fragColor and initial value is set to vec4(0.0, 0.0, 0.0, 0.0);. I would like to know why this value is using black on initial. Should we use background colour for the initial? Thanks.
Regards,
Clement Chu
More information about the osg-users
mailing list