Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fudingyu

Pages: [1]
1
Other Packages / Re: Fog of war on Mali/PowerVR GPU problem
« on: July 08, 2015, 10:14:46 PM »
http://community.arm.com/message/15331

one technique is to mangle your vertex shader (which is fp32 precision on Mali) output to emit a depth value which is designed to generate different distribution of depth values. This can, for example, make the rasterized depth a linear distribution in the Z-buffer, rather than the usual non-linear one. It's not without issues (you get less Z-fighting in the distance, but risk more close to the camera) - but might be worth a try ...

For more details, try this article: http://www.mvps.org/directx/articles/linear_z/linearz.htm


Above function made help?

2
Other Packages / Re: Fog of war on Mali/PowerVR GPU problem
« on: July 07, 2015, 11:21:32 AM »
I thought c
ause of this line code

FOWEffect.cs
mCam.depthTextureMode = DepthTextureMode.Depth;

Not support depth buffers 16 bit, so camera overlay a bad depth.

Do you have any idea fix it?

3
Other Packages / Fog of war on Mali/PowerVR GPU problem
« on: July 05, 2015, 11:59:37 PM »
On Qualcomm GPU is perfect!

But while Mali/PowerVR GPU like below picture







Caused of depth texture? some GPU not support depth texture? or not support 24 bit depth buffer only run 16 bit?

Pages: [1]