说明:
✔️ Works in 2020.2 ➕ 2020.3 Compute shaders are scripts than run on the GPU and are specialized at solving problems that can be broken into many parts. If this describes a mesh you want to generate, they can do it super fast! In this video, I'll show you how to procedurally generate a mesh in the Unity Editor - using compute shaders - and save it as a mesh asset file. 👋 Subscribe for weekly game development videos! ► https://www.youtube.com/c/nedmakesgames?sub_confirmation=1 👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files! ► https://www.patreon.com/nedmakesgames 🔗 Check out my website for a searchable list of tutorials! ► https://nedmakesgames.github.io/ 🔴 Twitch ► https://www.twitch.tv/nedmakesgames 🐦 Twitter ► https://twitter.com/nedmakesgames 🎮 Discord ► https://discord.com/invite/ubxSVBK 📸 Instagram ► https://www.facebook.com/unsupportedbrowser 👽 Reddit ► https://reddit.com/u/nedmakesgames 🎶 TikTok ► https://www.tiktok.com/@nedmakesgames ☕ Ko-fi ► https://ko-fi.com/nedmakesgames 🎬 Previous videos ► Vertex/Fragment shader basics: https://www.youtube.com/watch?v=7C-mA08mp8o ► Compute shader basics: https://www.youtube.com/watch?v=EB5HiqDl7VE ✨ Follow up videos ► Improved blade grass: https://www.youtube.com/watch?v=6SFTcDNqwaA 💬 Video transcript ► https://docs.google.com/document/d/1Tv18KN5tjgHfMQ10P0Htb2U_1GFhOunv21eAKaDxKg4/edit?usp=sharing 📚 Reference scripts ► https://gist.github.com/NedMakesGames/fef1bddca8061b21845dbe68d0cddfec ⏲️ Timestamps: 0:00 Intro 1:09 Project setup 1:41 The ScriptableObject 3:00 The inspector button 4:05 The compute shader 8:10 The dispatcher 12:35 The finished inspector 14:34 Testing 15:09 Wrap up and credits 🎖️ Credits and references: • pharan: Mesh Saver - https://github.com/pharan/Unity-MeshSaver/blob/master/MeshSaver/Editor/MeshSaverEditor.cs • James "Nihilore" Opie: music "Sleepwalking" - https://www.youtube.com/watch?v=NfMGQQYE1Kw • freepik: Wrinkled paper texture - https://www.freepik.com/premium-vector/wrinkled-paper-texture_711440.htm • Unity Technologies: GraphicsBuffer documentation - https://docs.unity3d.com/2020.2/Documentation/ScriptReference/GraphicsBuffer.html
准备下载方式
http://unidownloader.com 网站是单独下载视频或音轨的最佳方式。如果您想避免安装程序和扩展。
UDL Helper 扩展是一个方便的按钮,嵌入YouTube、Instagram和OK.ru网站,用于快速下载内容。
UDL Client(适用于 Windows)支持900多个网站、社交网络和视频托管网站的最强大解决方案。包括源中可用的任何视频质量。
UDL Lite–从移动设备访问网站的便捷方式。借助此功能,您可以将视频直接下载到智能手机上。
最佳质量格式为全高清(1080p)、2K(1440p)、4K(2160p)和8K(4320p)。屏幕分辨率越高,视频质量也越高。然而,还有其他因素需要考虑:下载速度、可用空间和设备性能。
浏览器/电脑不应完全冻结!如果发生这种情况,请通过视频链接进行报告。有时视频无法以合适的格式直接下载,因此我们增加了将文件转换为所需格式的功能。在某些情况下,此过程可能会主动使用计算机资源。
您可以使用网站或pwa应用程序 UDL Lite 将视频下载到智能手机上。也可以使用 UDL Helper 扩展通过二维码发送下载链接。
最方便的方法是使用UDL Client 程序,该程序支持将视频转换为MP3格式。在某些情况下,MP3 也可以通过 UDL Helper 扩展下载。
此功能在 UDL Helper 扩展中可用。确保在设置中选中“显示视频快照按钮”。相机图标应出现在播放器的右下角“设置”图标的左侧。单击它时,视频中的当前帧将以 JPEG 格式保存到您的计算机中。
完全不要花钱。我们的服务对所有用户都是绝对免费的。没有PRO订阅,下载视频的数量或最大长度没有限制。