Code: Select all
gl_FragColor = texture2D(color_texture, gl_TexCoord[0].st);
Code: Select all
if ( gl_FragColor.a < 1.0 )
{
// set it to the greatest depth
gl_FragDepth = gl_DepthRange.far;
}
Code: Select all
gl_FragColor = texture2D(color_texture, gl_TexCoord[0].st);
Code: Select all
if ( gl_FragColor.a < 1.0 )
{
// set it to the greatest depth
gl_FragDepth = gl_DepthRange.far;
}
I don't understand the question.Squizmek wrote:hey nassosy,
do you think it would be possible to take a group of instancing meshes instead of a single mesh that gets duplicated? This would be really awesome to get an exact copy of the pointcloud as geometry!