说明:
✔️ Works in 2020.2 ➕ 2020.3 Grass is one of those things that's deceptively difficult to implement. I've taken a stab at it in this series of videos, showing how to generate grass blades using a compute shader, and animate it using the vertex function of a graphics shader. In this video, I modify previous scripts to add shadow casting to the grass blades, as well as show a trick to lighten shadows without global illumination. 👋 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, downloadable project files, and more! ► https://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://discordapp.com/invite/ubxSVBK 📸 Instagram ► https://instagram.com/nedmakesgames 👽 Reddit ► https://reddit.com/u/nedmakesgames 🎶 TikTok ► https://www.tiktok.com/@nedmakesgames ☕ Ko-fi ► https://ko-fi.com/nedmakesgames 🎬 Previous videos ► Generating meshes with compute shaders: https://youtu.be/AiWCPiGr10o ► Blade grass: https://youtu.be/6SFTcDNqwaA ► Layered grass: https://youtu.be/UehGAVMCa7w 💬 Video transcript ► https://docs.google.com/document/d/1ENXtJmMdlFFeKvfLYxk6NFKMWho2jE9YVwDeHaCa0M4/edit?usp=sharing 📜 Required scripts ► https://gist.github.com/NedMakesGames/83fba48a06d8b22bda79121d8401a00a 📚 Reference scripts ► Shadow caster pass: https://gist.github.com/NedMakesGames/8db536be81e757fffb3ad745a2a14630 ► Double sided blades: https://gist.github.com/NedMakesGames/436718af90b3d3483b672ee80ae7b280 ► Final: https://gist.github.com/NedMakesGames/3b7ca2b7d69e0ea6e44e859066997802 ⏲️ Timestamps: 0:00 Intro 0:56 Project setup 1:08 Shadow caster pass 2:50 Double sided blades 7:58 Lightening shadows 9:01 Wrap up and credits 🎖️ Credits and references: • freepik: Wrinkled paper texture - https://www.freepik.com/premium-vector/wrinkled-paper-texture_711440.htm • James "Nihilore" Opie: music "Glimmer" - https://www.youtube.com/watch?v=yAozyPbCT18 #GameDev #IndieDev #Unity
准备下载方式
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订阅,下载视频的数量或最大长度没有限制。