jPCT - a 3d engine for Java > Support
Shadows
AGP:
Have you had a look at it, Egon?
EgonOlsen:
I've replied to your email yesterday.
AGP:
Sorry, I got a lot of emails yesterday. If some filter could be applied to the shadows it would already help a good deal (is there no way, to access the shadow map and, thus, for instance, apply java.awt.Image filters?). Thanks for having a look.
EgonOlsen:
No, you can't filter a depth map on the GPU with some Java2D means. You can filter it in a shader. The fixed function pipeline that desktop jPCT uses for shadow mapping doesn't support this. You can enable a kind of filtering in the ShadowHelper, but it might cause some artifacts and usually doesn't really help much anyway.
Apart from that, your shadows in that example look really low res for a 8192*8192 depth map. Have you tried to play around with the fov setting?
AGP:
I'm sure that I did in the past, but what's a reasonable value? And, since you have the scene, are the scales and distances reasonable?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version