跳到正文
Shane Brumback· 来源· @ShaneBrumback · X·· 1 天前AI 评分53
正文 · 原文

AI-built Three.js game freezing the first time a muzzle flash or explosion appears? That's shader compile. Have your agent add each effect to the scene at load and await renderer.compileAsync(scene, camera) before play starts. More: https://www.shanebrumback.com

来源:Shane Brumback · x.com