jPCT - a 3d engine for Java > Support
Fog Of War Transparency With Software
EgonOlsen:
That texture has an alpha channel assigned to it that makes the white part transparent. I would guess that you actually want it the other way around?
AGP:
No, those are the edges of the fog of war. The fog is black, naturally.
EgonOlsen:
I can't see anything wrong with it nor with the rendering itself in my simple test case. Do you have a screen shot that shows the problem? Just to be sure that we are talking about the same thing here.
AGP:
No problem.
https://www.dropbox.com/s/l7lqhpehh19f2qe/FogProblem.png?dl=0
EgonOlsen:
There quads don't seem to have any transparency applied to it. Alpha channel aside, they should be transparent anyway with a value of 0.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version