Tutorial How To Make An Interactive Grass Shader In Unity
This tutorial is the step-by-step guide on how to add interactivity to the grass shader. It is the extension of the geometry grass shader tutorial by Roystan.
In this blog post I tried to show an iterative approach to getting the desired effect and I hope it will help you to start learning shaders and begin from other simple effects breaking it down in the similar way.
https://gamedev.center/tutorial-how-to-make-an-interactive-grass-shader-in-unity/
Repo: https://github.com/AlexMerzlikin/Unity-GrassShader
#shader #effect #grass
This tutorial is the step-by-step guide on how to add interactivity to the grass shader. It is the extension of the geometry grass shader tutorial by Roystan.
In this blog post I tried to show an iterative approach to getting the desired effect and I hope it will help you to start learning shaders and begin from other simple effects breaking it down in the similar way.
https://gamedev.center/tutorial-how-to-make-an-interactive-grass-shader-in-unity/
Repo: https://github.com/AlexMerzlikin/Unity-GrassShader
#shader #effect #grass
gamedev.center
Tutorial How To Make An Interactive Grass Shader In Unity
A very beginner-friendly step-by-step tutorial how to make an interactive grass shader in Unity. Learn step-by-step or download the full source code immediately
👍2
Stencil Buffers | Ronja's tutorials
Follow-up for recent posts with stencil buffer effects, basics of working with stencil buffer.
https://www.ronja-tutorials.com/post/022-stencil-buffers/
#stencil #shader
Follow-up for recent posts with stencil buffer effects, basics of working with stencil buffer.
https://www.ronja-tutorials.com/post/022-stencil-buffers/
#stencil #shader
Ronja-Tutorials
Stencil Buffers
Summary The depth buffer helps us compare depths of objects to ensure they occlude each other properly. But theres also a part of the stencil buffer reserved for “stencil operations”. This part of the depth buffer is commonly referred to as stencil buffer.…
👍1
Triangle.Net-for-Unity
Triangulation lib wrapper for Unity. Triangle.NET generates 2D (constrained) Delaunay triangulations and high-quality meshes of point sets or planar straight line graphs. I guess you already knew about it, if you were interested in mesh generation. If not, then if you ever stumble upon triangulation in Unity, you should know there is the lib available for doing it.
https://github.com/Nox7atra/Triangle.Net-for-Unity
#triangulation #mesh
Triangulation lib wrapper for Unity. Triangle.NET generates 2D (constrained) Delaunay triangulations and high-quality meshes of point sets or planar straight line graphs. I guess you already knew about it, if you were interested in mesh generation. If not, then if you ever stumble upon triangulation in Unity, you should know there is the lib available for doing it.
https://github.com/Nox7atra/Triangle.Net-for-Unity
#triangulation #mesh
GitHub
GitHub - Nox7atra/Triangle.Net-for-Unity
Contribute to Nox7atra/Triangle.Net-for-Unity development by creating an account on GitHub.
👍2
Unity VFX Graph - Stylized laser beam tutorial
https://youtu.be/_SaBXY-Ejqo
#vfx #shadergraph #vfxgraph #beam #laser
https://youtu.be/_SaBXY-Ejqo
#vfx #shadergraph #vfxgraph #beam #laser
YouTube
Unity VFX Graph - Stylized Laser Beam Tutorial
In this Unity tutorial we are going to create a Stylized Beam effect with a touch electricity! We will mix Visual Effect Graph and Shader Graph with a bit of Blender and Krita in between.
Hope you guys like it!
Btw, I created and Indie Game Studio: h…
Hope you guys like it!
Btw, I created and Indie Game Studio: h…
👍2
UI with rectangles? Don't use null as a source!
Create a 1x1 square image and add it to your sprite atlas. That way all rectangles will be drawn together with the images. You can reduce several draw calls per frame!
When using a null reference in an Image field: "None (Sprite)", Unity actually puts a UnityWhite texture in there that causes the GPU to make an additional draw call.
https://twitter.com/HetiDev/status/1493317817688629252
#ui #optimization #tips
Create a 1x1 square image and add it to your sprite atlas. That way all rectangles will be drawn together with the images. You can reduce several draw calls per frame!
When using a null reference in an Image field: "None (Sprite)", Unity actually puts a UnityWhite texture in there that causes the GPU to make an additional draw call.
https://twitter.com/HetiDev/status/1493317817688629252
#ui #optimization #tips
Twitter
Heti
#unity3d UI with rectangles? Don't use null as a source! Create a 1x1 square image and add it to your sprite atlas. That way all rectangles will be drawn together with the images. You can reduce several draw calls per frame! #unitytips #gamedev #indiedev…
👍1
Rendering meshes in Unity without MeshRenderers
Simple example how to use DrawMesh(), DrawMeshNow(), and DrawMeshInstanced().
https://www.edraflame.com/blog/unity-graphics-drawmesh-drawmeshinstanced/
#rendering #drawmesh #instancing
Simple example how to use DrawMesh(), DrawMeshNow(), and DrawMeshInstanced().
https://www.edraflame.com/blog/unity-graphics-drawmesh-drawmeshinstanced/
#rendering #drawmesh #instancing
Edraflame
Rendering meshes in Unity without MeshRenderers | Edraflame
How to use Graphics.DrawMesh and Graphics.DrawMeshInstanced in Unity to render meshes from code without MeshRenderers
👍3
Unity Recorder
Use the Unity Recorder package to capture and save data during Play mode. For example, you can capture gameplay or a cinematic and save it as an .mp4 file.
https://docs.unity3d.com/Packages/com.unity.recorder@2.0/manual/index.html
#video #recorder
Use the Unity Recorder package to capture and save data during Play mode. For example, you can capture gameplay or a cinematic and save it as an .mp4 file.
https://docs.unity3d.com/Packages/com.unity.recorder@2.0/manual/index.html
#video #recorder
👍3
Feature highlight: IL2CPP runtime performance improvements in Unity 2021.2
https://blog.unity.com/technology/feature-highlight-il2cpp-runtime-performance-improvements-in-unity-20212
#il2cpp
https://blog.unity.com/technology/feature-highlight-il2cpp-runtime-performance-improvements-in-unity-20212
#il2cpp
👍2
Trajectory prediction in Unity
Predict trajectory with Physics.Simulate. Not sure about performance if there is a lot of stuff going on, but should be absolutely fine for small simulations. Anyway in case you use Physics.Simulate a lot dont forget to always profile before optimizing. Or if you are still in a preproduction phase, make a small proof of concept with expected amount (and more for greater confidence) of operations to simulate, so you can be sure that this approach is suitable for your case.
https://www.youtube.com/watch?v=4VUmhuhkELk
Repo: https://github.com/ToughNutToCrack/TrajectoryPrediction
#simulation #physics #trajectory #prediction
Predict trajectory with Physics.Simulate. Not sure about performance if there is a lot of stuff going on, but should be absolutely fine for small simulations. Anyway in case you use Physics.Simulate a lot dont forget to always profile before optimizing. Or if you are still in a preproduction phase, make a small proof of concept with expected amount (and more for greater confidence) of operations to simulate, so you can be sure that this approach is suitable for your case.
https://www.youtube.com/watch?v=4VUmhuhkELk
Repo: https://github.com/ToughNutToCrack/TrajectoryPrediction
#simulation #physics #trajectory #prediction
YouTube
Trajectory prediction in Unity
In many games, especially in 2d puzzles, the player can see a line that represents the bullet trajectory before shooting.
This mechanics is used for example in Puzzle Bubble, Tank Wars, Peggle, and many more.
It's commonly used for power-ups or tutorial levels.…
This mechanics is used for example in Puzzle Bubble, Tank Wars, Peggle, and many more.
It's commonly used for power-ups or tutorial levels.…
👍1
Talking to your unmanaged code efficiently from Unity using P/Invoke
How to use P/Invoke with blittable types. A type is blittable if it has the same memory representation in C# as in the target language.
https://medium.com/baracoda-engineering/talking-to-your-unmanaged-code-efficiently-from-unity-using-p-invoke-6bb26f43f428
#extern #plugins #pinvoke
How to use P/Invoke with blittable types. A type is blittable if it has the same memory representation in C# as in the target language.
https://medium.com/baracoda-engineering/talking-to-your-unmanaged-code-efficiently-from-unity-using-p-invoke-6bb26f43f428
#extern #plugins #pinvoke
Medium
Talking to your unmanaged code efficiently from Unity using P/Invoke
Sometimes Unity projects need to interface with native plugins that are written in other languages, or maybe your company has a library in…
👍2
Unity Spline-Based Tank Tracks System Package
https://timcoster.com/2021/01/17/unity-spline-based-tank-tracks-system-package/
#tank #tracks
https://timcoster.com/2021/01/17/unity-spline-based-tank-tracks-system-package/
#tank #tracks
Coster-Graphics
Unity Spline-Based Tank Tracks System Package
Hey All!Some time ago I posted about a small spline-based tank tracks system that I’d built. Because some people asked me personally if they could download it, I decided to do some more work …
👍1
Kenney • Prototype Textures
Free textures for prototyping
https://kenney.nl/assets/prototype-textures
#assets #prototype
Free textures for prototyping
https://kenney.nl/assets/prototype-textures
#assets #prototype
kenney.nl
Prototype Textures · Kenney
Download this package (75 assets) for free, CC0 licensed!
👍1
Unity Shader Graph Procedural Planet Water Tutorial
https://timcoster.com/2021/09/24/unity-shader-graph-procedural-planet-water-tutorial/
#water #planet #shadergraph
https://timcoster.com/2021/09/24/unity-shader-graph-procedural-planet-water-tutorial/
#water #planet #shadergraph
Coster-Graphics
Unity Shader Graph Procedural Planet Water Tutorial
Unity Shader Graph Planet Water Tutorial Calculate depth from water surface to underlying geometry,Use the depth value to blend from deep to shallow water color,Use the depth value and noise to gen…
👍2
Scriptable Renderer Feature
A barebones sample implementation of a noscriptable renderer feature for Unity's noscriptable render pipeline
https://samdriver.xyz/article/noscriptable-render
#srp #rendering
A barebones sample implementation of a noscriptable renderer feature for Unity's noscriptable render pipeline
https://samdriver.xyz/article/noscriptable-render
#srp #rendering
samdriver.xyz
Scriptable Renderer Feature
A barebones sample implementation of a noscriptable renderer feature for Unity's noscriptable render pipeline.
👍1
How to make a Homing Missile in Unity with Trajectory Prediction (source included)
https://youtu.be/Z6qBeuN-H1M
#missile #feature
https://youtu.be/Z6qBeuN-H1M
#missile #feature
YouTube
How to make a Homing Missile in Unity with Trajectory Prediction (source included)
Homing missiles are fun as hell, so let's make one. This rocket will predict future motion using velocity. We'll also use cosine to make the rocket trajectory more interesting.
Make sure you leave a like on the video if you enjoyed it :)
Source: https:…
Make sure you leave a like on the video if you enjoyed it :)
Source: https:…
👍2
OPTIMISING A COMPUTE SHADER
Using RenderDoc to help find a faster compute shader for the simple lens flare effect.
https://samdriver.xyz/article/optimise-compute-shader
#shader #profiling #renderdoc #nativeprofiling
Using RenderDoc to help find a faster compute shader for the simple lens flare effect.
https://samdriver.xyz/article/optimise-compute-shader
#shader #profiling #renderdoc #nativeprofiling
samdriver.xyz
Optimising a Compute Shader
Using RenderDoc to help find a faster compute shader for the simple lens flare effect
👍2
Culling system and effects for Top-Down games
Simple fade out/culling system for top down game with 3 different shader-based effects to fade out objects that get in the way of the player seeing their avatar
https://www.patreon.com/posts/culling-system-60214085
#cull #vfx
Simple fade out/culling system for top down game with 3 different shader-based effects to fade out objects that get in the way of the player seeing their avatar
https://www.patreon.com/posts/culling-system-60214085
#cull #vfx
👍2
Create Bouncing/Ricocheting Raycast Bullets From Scratch! Unity Tutorial
Learn how to implement, from scratch, raycast (or "hitscan") bullets, with trails, that can bounce/ricochet off objects!
https://youtu.be/GkStW8-Q5P0
#ricochet #bullet #feature
Learn how to implement, from scratch, raycast (or "hitscan") bullets, with trails, that can bounce/ricochet off objects!
https://youtu.be/GkStW8-Q5P0
#ricochet #bullet #feature
YouTube
Bouncing Bullets with Hitscan Guns | Unity Tutorial
Learn how to implement, from scratch, raycast (or "hitscan") bullets, with trails, that can bounce/ricochet off objects!
We'll start off by using some free starter assets from Unity and the New Input System. We'll write a Gun noscript from scratch that shoots…
We'll start off by using some free starter assets from Unity and the New Input System. We'll write a Gun noscript from scratch that shoots…
👍2