Search found 3 matches

by jarlsburg
Tue Oct 20, 2015 9:21 am
Forum: Bug reports
Topic: [fixed]Transparent objects sorting error bug/improvement
Replies: 10
Views: 7087

Re: Transparent objects sorting error bug/improvement

That massively increases the cpu overhead. Consider a hundred or a thousand units. Very true. That sort of transformation should be done in a shader, however i still think a slow fix on the CPU is better than broken functionality, and someone more acquainted with irrlicht conventions and architectu...
by jarlsburg
Tue Oct 20, 2015 5:16 am
Forum: Advanced Help
Topic: Strange lighting with shader
Replies: 6
Views: 1762

Re: Strange lighting with shader

Thanks Glitch! I'm sure between HLSL and CG we'll sort it out! (check out my final GLSL post when it arrives) Who knows what the future holds! Cheers and keep up the good work! Hi Vectrotek, just wanted to mention that CG is now deprecated and hasnt been updated for a while. This forced me to make ...
by jarlsburg
Tue Oct 20, 2015 5:10 am
Forum: Bug reports
Topic: [fixed]Transparent objects sorting error bug/improvement
Replies: 10
Views: 7087

Re:

So, to draw them in the correct order, the sorting distance should not be the xyz squared distance, but instead be the distance from the view plane after the object position is transformed to camera space. I accomplished this by making a new constructor for TransparentNodeEntry that takes the camer...