N8python / n8ao

An efficient and visually pleasing implementation of SSAO with an emphasis on temporal stability and artist control.
Creative Commons Zero v1.0 Universal
378 stars 14 forks source link

Fixed deprecated WebGLMultipleRenderTargets in r162 #27

Closed naive17 closed 7 months ago

naive17 commented 7 months ago

I added the new way to MRT only from 162 and up to keep the current compatibility. texture[] is named textures[] so i changed it in the references of the depthDownsampleTarget and patched the old one.

From my tests everything works cool with either the currente examples threejs version and the latest one.

N8python commented 7 months ago

Wonderful! Merging.