Description:
✔️ Works in 2020.1 ➕ 2020.2 ➕ 2020.3 Oftentimes, it's useful to set shader properties from a C# script. In this video, I show how to set property values on a shader created in the URP shader graph. In the process, I create a system that draws colored ripples wherever you click on a mesh. 👋 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 💬 Video transcript ► https://docs.google.com/document/d/1X2L8IxQ4EEqKgnRtrF0jI4_MH_G7U8bNkPce_LchiZw/edit?usp=sharing 📚 Reference scripts ► Initial script: https://gist.github.com/NedMakesGames/261a7b0a462c4090e744cf4ff7ef8ea3 ► Random colors: https://gist.github.com/NedMakesGames/7c9a64b7920559b92cac4c8c7d7c58f5 ► Copied material: https://gist.github.com/NedMakesGames/3915393771ecf65b26fc2a9693056bde ► Property IDs: https://gist.github.com/NedMakesGames/07bf7599e0a8867c01646fc180de5e67 ⏲️ Timestamps: 0:00 Intro 0:57 Project setup 1:47 The graph 3:40 The initial script 5:04 Randomizing colors 5:58 Instantiate material 6:33 Optimizations 7:35 Wrap up and credits 🎖️ Credits and references: • James Opie AKA Nihilore: music "Oblivious" - https://www.youtube.com/watch?v=rjWb_WwY2cA • Unity Technologies: Let's Try: Shooting with Raycasts - https://learn.unity.com/tutorial/let-s-try-shooting-with-raycasts
Preparing download options
http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.
The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.
UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.
UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.
The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.
The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.
You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.
The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.
This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.
It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.