<h5 dir="auto">Description of the problem</h5>
<p dir="auto">MeshDepthMaterial with THREE.RGBADepthPacking doesn't work correctly on iOS.</p>
<p dir="auto">How to reproduce:</p>
<p dir="auto">Simply open <a href="https://threejs.org/examples/?q=chann#webgl_materials_channels" rel="nofollow">https://threejs.org/examples/?q=chann#webgl_materials_channels</a> on a iOS device and set the material to "depthRGBA".<br>
The issue with the depth packing can be also seen when opening the SAO example.</p>
<p dir="auto">Works fine on Chrome (Mobile), Firefox, Internet Explorer, Microsoft Edge, Safari.<br>
Doesn't work on Safari Mobile</p>
<p dir="auto">What to expect (screenshot from android device):<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22448974/36426463-572aae3a-164a-11e8-889f-6925d99b59ed.png"><img src="https://user-images.githubusercontent.com/22448974/36426463-572aae3a-164a-11e8-889f-6925d99b59ed.png" alt="screenshot_20180220-140601" style="max-width: 100%;"></a></p>
<p dir="auto">What I get:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22448974/36426496-68f02ff0-164a-11e8-9382-b4ddfe08b809.PNG"><img src="https://user-images.githubusercontent.com/22448974/36426496-68f02ff0-164a-11e8-9382-b4ddfe08b809.PNG" alt="img_0003" style="max-width: 100%;"></a></p>
<p dir="auto">Seems to be a problem with the RGBADepthPacking packing. will investigate it a bit further.</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> iOS Safari Mobile</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> iOS (11?)</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<p dir="auto">Device with iOS (iPhone), only tested iPhone X so far.</p>
<p dir="auto">I read the folder of /doc and the list.js ,the category of api is writed in JSON.<br>
I want to know how the document be built. Do you write html of document directly, Or write text of docment in some software then built the folder of doc/ automatically.</p>
<p dir="auto">I can write html, but maybe there is a easy way to do this.</p>