Examples of good Density Mask Textures

My search-fu is weak on this one, so hoping a thread will help generate some leads for the community. There are lots of posts on how to create a density mask texture or how to find the Density Volume Texture Tool. But I can’t find any successful example textures, either the 2D source texture for the tool, or the resulting texture 3D.

If you’ve made one, or found one, please post links.

Halloween is coming, and some nice HDRP rolling fog would be lovely.

This is where the asset is used for HDRP fog, but not how it was created

I can’t remember where I found it, but here you go.

6380523–710883–3d_fractal_noise04_Texture3D.zip (31.1 KB)

3 Likes

Thanks @id0 !

That’s exactly the type of example I was hoping to find. For others, id0’s example is good for thick fog. If you want to scroll the fog, be careful to setup the volume and direction so that you can avoid any obvious seams in the texture3D.

If you see a seam, easy fix is to just change scroll direction or rotate the volume where seams are less obvious.

If anyone else has good examples, or can explain better how to create them from scratch, please share.

There is this tutorial that explains how to create volume textures in substance, you can download them at the bottom of the tutorial: The basics of creating pseudo volume textures in Substance Designer - Tutorial — polycount

The texture importer now supports generating 3D textures from a 2D one with tiles, the only remaining problem is that you have to convert the texture to a 32x32x32 Alpha8 Texture3D object for the volume system, or it will reject your texture.

Otherwise, if you’re using Unity 2020.2, you can try Mixture: GitHub - alelievr/Mixture: Mixture is a powerful node-based tool crafted in unity to generate all kinds of textures in realtime
It’s my tool to generate textures in unity and it works for Texture3D in Alpha8 format, here’s the quick start guide: Getting Started
And an example: Examples

8 Likes

Does anyone know where the “Density Volume Texture Tool” has gone in Unity 2020.2? It was under Window > Rendering menu in previous versions, and should still be there according to HDRP 10 manual - https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.0/manual/Density-Volume.html?q=density texture

EDIT: I just found out that it’s no longer needed in 2020.2 as the texture importer can import sliced textures as 3D textures. I think these are the correct import settings:

1 Like