My website is now live! It is designed to be a hub for learning about various processes in Unity, namely rendering & shaders. I have a few tutorials already live and plan to add more as I keep going. The topics will vary in complexity, if there is something you would like to learn about please leave a comment!
This is also going to be the main source of information for my free technical art pipeline B2U Material Master. I greatly appreciate anyone who checks it out!
Just got the laser patterns working (aimed, rotating, and sweeping walls) for Nexus: Reach. No extra VFX yet, just a tiled LineRenderer, 2D lighting, and some camera shake. Does the readability and timing feel fair so far?
I have a main menu and then a scene that is loaded when the game starts. Every actor in the scene has a Physics.RaycastAll that detects nearby colliders with a certain tag on Start
I'd never had an issue when the scene was standalone, however now that I am using scene load async (single, not additive) it seems that the physics engine is not awake in order to find the raycast hits, because I debugged all the way down to the actual cast call to ensure that was what was missing;
The actors exist, the external colliders being tagged exist with their correct tags, there is no mistiming from awake/on enable/start functions across the project
However, my raycast makes no hits. I can only assume this is because the physics engine isn't awake when the scene is loaded this way, but considering these functions are being called all the way to Start, it seems unless there is a more straightforward workaround I need to either do a weird collider shake during an awake function, or I need to somehow await async for the next physics update
I've shoehorned an old procedural planet generator into my flight sim so I can now fly around a planet (approx 262km across). Also i've added gimbal to the engines but its unstable above 8 degrees of deflection so you cant really see it here. Next thing I want to work on is making the engines' thrust dependent on airspeed to mimic actual jet engines. I also want to be able to retract and deploy the landing gear (which I guess also means I'll need to tweak the terrain to make places flat enough to land on because there is no way i'm lining back up with that runway)
It's been a while since the last time I made a post. It is my first time trying to make a soulslike game and I wanted to try making it as I absolutely love soulslike genre. It's been a couple of tough months and I had to learn a lot of stuffs but I am making progress slowly but surely.
I have added a couple of enemy variations, two more bosses and some more VFX. Some UI and main menu. Mana bar and player spells. Enemies now have normal attacks that can be dodged and parried, as well as attacks that can only be parried (Yellow attacks) or dodged (Red attacks).
For example I want after 1 min the speed is 15 and then lock this value for 5 minutes then after that increase till 20 and so on
how to make this possible ?
When the liquid is poured from a container, I'd like it to flow like a thick, viscous liquid and gradually pile up in layers before spreading out as it hits the surface, just like in the video.
I tried using Obi Fluid asset, but I couldn't achieve the desired effect, and the performance cost was quite significant. I've looked around for tutorials and resources, but I haven't been able to find useful information.
So I thought I'd ask here in case anyone knows how to achieve this kind of effect.
Would I need to use VFX Graph for this, or is there another approach?
I have a thin mesh that has strangely behaving shadows when imported to Unity URP 6.3, but looks fine in Blender. I thought it was ambient occlusion, but I turned it off, and it looks the same. I tried playing around with the depth and normal bias in render pipeline asset, with no improvement either. If anyone has encountered the same with a solution, I'd be more than grateful to hear, thanks!
I want to learn about these to optimize the games better besides when it came to optimization for mobiles what is the difference between mobile and pc ? Ik there are stuff in common but at some point for mobile there is an extra work what it is ?
Would anyone who has experience with hair-card based textures/materials have any suggestions for transferring materials to Unity URP from Blender. The first image is the hair as it is set up in Blender and the second is Unity. I believe the issue is with UV mapping, as mapping is shifted in the actual material setting in Blender to align with the actual strand in the hair card texture. Any ideas how to do something similar in Unity with this method of hair card mapping? I have tried messing with the offset and tiling which improved it slightly from image 2 but still far from the correct display. Any help is appreciated!
Hello! I followed the tutorial of someone named "Shark Games" how to do make first person movement in unity. I tried to follow step by step that tutorial including a fix that they suggested on the comments box; everything worked with the exception of my camera movement. Whenever I try to move my mouse to move the camera, nothing happens.
Most tutorials for unity based flight sims I could find online seemed to take a few too many shortcuts and simplifications for the sake of easier manual tuning. I'm trying to go just one step more realistic than most by simulating individual lifting surfaces. Currently only the newtonian model of lift is being used so any pressure gradients across the wings are being completely ignored. Frankly I was a little stunned at how good of a glider this became with so little code. Feedback & suggestions are appreciated.
One thing I've always found interesting about Unity development is how different developers approach dialogue implementation.
For projects involving branching conversations, NPC interactions, and narrative progression, managing dialogue can become a substantial part of development.
I recently released Dialogue System Pro, a tool designed to make this workflow more visual and manageable.
Rather than building an entire dialogue framework from scratch, developers can use a dedicated system for creating and managing their dialogue experiences.
I'm interested in hearing from other Unity developers:
What do you currently use for dialogue implementation?
Do you prefer custom-built systems or dedicated dialogue tools?
What's one feature you consider essential in a dialogue system?
Would genuinely appreciate technical feedback and suggestions.
I'm trying to build a Vertex Animation Texture (VAT) pipeline to export animated characters from Blender 5.2.2 into Unity URP.
My goal is to use VAT animations for a large number of soldiers in an RTS game. I want to bake character animations in Blender and play them in Unity through a custom shader, without using skeletal animation at runtime.
However, I'm facing a problem that I haven't been able to solve despite spending quite a lot of time debugging the pipeline. The character appears fragmented, with vertices seemingly being displaced to incorrect positions.
I'd appreciate help from anyone experienced with VAT workflows, Blender-to-Unity pipelines, or custom vertex shaders.
1. Software and setup
Blender 5.2.2
Unity with URP
FBX character imported from Meshy
Custom HLSL VAT shader
EXR position texture
Character mesh: 701 vertices
Animation: IDLE
Frame count: 340
FPS: 30
VAT texture resolution: 1024 × 340
The Blender scene contains:
Mesh object: char1
Armature object: Armature
2. Blender VAT preparation
I created a UV layer called VAT_Index to store the original vertex index for each vertex.
The UV U coordinate is generated using:
u = (vertex_index + 0.5) / 1024
v = 0.5
The UV values are assigned per mesh loop using the corresponding vertex index.
I also ran a validation script in Blender.
The results were:
Vertex count: 701
Loop count: 1497
UV entries: 1497
Incorrect indices: 0
The validation confirmed that all VAT indices were generated correctly.
3. Animation export
I exported the evaluated mesh positions frame by frame into an EXR texture.
Each pixel stores:
R = X position
G = Y position
B = Z position
A = 1
The texture dimensions are 1024 × 340.
I also exported the first frame to a CSV file containing the vertex index and XYZ coordinates.
To verify the export, I compared the CSV coordinates against the corresponding EXR pixels in Blender.
The results were:
Average error: approximately 0.0000108
Maximum error: approximately 0.0000460
This suggests that the Blender-side EXR export is working correctly, at least for the tested frame.
4. Unity mesh and UV validation
I imported the FBX into Unity.
The imported mesh has:
701 vertices
UV0 count: 701
UV1 count: 701
The VAT index data is available in Unity through mesh.uv2 (TEXCOORD1).
I wrote a C# validation script to check whether every Unity vertex maps to a unique source vertex index.
This improved some values considerably, but it did not solve the problem.
Here are some results after applying the gamma conversion:
Source Index
CSV Position
Unity EXR Corrected
Error
7
(0.47, 0.31, 0.23)
(0.47, 0.31, 0.23)
0.00018
135
(0.12, 0.47, 0.23)
(0.00, 0.47, 0.00)
0.2552
145
(0.27, 0.36, 0.39)
(0.21, 0.44, 0.09)
0.3064
132
(0.19, 0.37, 0.36)
(0.01, 0.38, 0.02)
0.3865
Across all 701 vertices:
Compared vertices: 701
Average error: 0.08018545
Maximum error: 0.46220990
The last animation row also produced almost identical error statistics when compared against the first-frame CSV. I understand that this is not a valid frame-to-frame comparison, but I checked it while investigating texture row orientation.
6. Unity texture import settings
My EXR import settings currently include:
Texture Type: Default
Read/Write: Enabled
Non-Power of 2: ToNearest
Filter Mode: Point
Compression: None
Generate Mip Maps: Disabled
I could not find an sRGB checkbox in this EXR import inspector.
I also checked the FBX model import settings:
Scale Factor: 1
Convert Units: Enabled
Bake Axis Conversion: Disabled
Weld Vertices: Enabled
Optimize Mesh: Everything
Mesh Compression: Off
Read/Write: Enabled
I have not conclusively established whether these model import settings are contributing to the problem.
7. Shader implementation
I'm using a custom URP HLSL shader.
The shader reads the VAT texture using the vertex's VAT UV coordinate and the selected animation frame.
I also experimented with Blender-to-Unity axis conversion and a 0.01 scale multiplier, but scaling the model only made it smaller. It did not fix the fragmented geometry.
At this point, I would really appreciate help identifying the actual cause rather than trying random import settings.
My main questions are:
Why would Unity's EXR pixel values differ from the original Blender coordinates even though the EXR and CSV were verified against each other in Blender?
Could Unity's EXR importer be changing the pixel data, especially for floating-point position textures containing negative values and values greater than 1?
Is Texture2D.GetPixel() returning values that have undergone a color-space conversion or another transformation?
Could FBX mesh optimization, vertex welding, or vertex reordering cause this issue even though the VAT UV indices are all unique and valid?
Is there a reliable way to preserve exact floating-point position data from Blender to Unity?
Would using a RAW binary Float32 texture instead of EXR be a better solution?
Is there anything fundamentally wrong with my VAT texture addressing or vertex-index workflow?
I am open to changing the export pipeline completely if necessary. I don't necessarily need to keep using EXR.
We use distance fields in a number of places. Namely in outlines. In all the places we use SDFs we get them using a method called Jump Flood Fill algorithm, which is a stupidly fast method.
We are using URP with Render Graphs.
Distance to shore (blurred)An island with sea foam and waves that fit the island and fade into random sea waves with distance
We use it for the shore foam and waves near the island. We render out the silhouette of the island into an off screen buffer and then run a JFA on it to get the distance and direction (for normals) to nearest point on the shore. Mikkel Svendsen's talk explains it: https://www.youtube.com/watch?v=_xbGK_5wlfs
The silhouette of an islandDirection to the nearest point on the shore. Used to create normals for waves.
He doesn't mention that they blur it to get rid of harsh boundaries where adjacent pixels are closest to wildly different points on the island silhouette. We blur it using separable gaussian kernels.
Another place we use the method is for the map. The map uses hexagons, and that version is actually simpler than a square pixel one. Hexagons have 6 neighbors while pixels have 8
The hexagonal map uses SDFs and jump flood fill too
Our game is coming out in 9 days! Please ask us about the technology we mentioned above or ask about Bee Space 🐝
I’ve been working on a large set of ornamental flowers and garden plants (hydrangeas, roses, lilies, carnations, hibiscus, and peace lilies) using Broccoli Tree Creator and Blender.
Flowers are notoriously tricky in real-time environments because dense petal and leaf geometry can quickly blow up triangle counts, and having dozens of flower varieties usually leads to way too many material swaps.
Here is how I approached the asset pipeline to keep them lightweight enough for dense gardens and foliage scattering:
Baked 4K Texture Atlases: Instead of separate textures per flower color or sub-variation, I baked new atlases in Blender so entire plant families share a single material. That keeps batching clean even when scattering hundreds of instances.
Aggressive 3-Tier LODs:
LOD0: Full petal and stem geometry for close-up camera inspection.
LOD1 & LOD2: Gradually merges smaller petal clusters and strips internal faces while keeping the outer silhouette and color volume intact at medium-to-far distances.
Native SpeedTree8 Wind: Rather than writing custom vertex displacement shaders that break batching or require extra setup, the materials use Unity's SpeedTree8 shader so everything responds to standard WindZones automatically.
If anyone is working on foliage scattering or procedural plant workflows in Broccoli/Blender and wants to chat about atlas baking or LOD thresholds, happy to answer questions below!