Graphics, C++, C#, Shaders, Unity, Unreal, PC, Console, Mobile, cats.
github.com/arycama
mastodon.gamedev.place/@Arycama
twitter.com/BenSimsTech
Currently reworking the terrain shader, needs better height blending.
Currently reworking the terrain shader, needs better height blending.
End result is quite nice, only change between these pics is sun+view angle
End result is quite nice, only change between these pics is sun+view angle
I wrote a simple one, only handles a 1024 array, but can be expanded to larger arrays with multiple passes.
Not the most efficient method, but simple
I wrote a simple one, only handles a 1024 array, but can be expanded to larger arrays with multiple passes.
Not the most efficient method, but simple
Might be slightly faster though
Might be slightly faster though
Handy for packing positive float3 data into a single uint.
Convert to+from is 21 DXC instructions.
Handy for packing 3D data into a single int
Handy for packing positive float3 data into a single uint.
Convert to+from is 21 DXC instructions.
Handy for packing 3D data into a single int
10/10 background art too
10/10 background art too
Some terms could be pre-calculated if needed.
Some terms could be pre-calculated if needed.
Both images are 1 sample per pixel.
Both images are 1 sample per pixel.
(Left pic is numerical integration, right is analytical. Also handles large distances (eg far plane))
Now to invert it 😅
(Left pic is numerical integration, right is analytical. Also handles large distances (eg far plane))
Now to invert it 😅
These are the two renderdoc captures, one is much more... pink. My X and Z values were always identical.
These are the two renderdoc captures, one is much more... pink. My X and Z values were always identical.
I think the spectrum texture looks okay, displacement has weird pixels in the corners though.
Do I need to add an extra row/column?
I think the spectrum texture looks okay, displacement has weird pixels in the corners though.
Do I need to add an extra row/column?
One of the compute shaders:
github.com/arycama/Node...
One of the compute shaders:
github.com/arycama/Node...
I do game-dev things, and graphics things, shader things. I recently updated my imposter baker/shader. Primary usage is for large amounts of foliage.
Having a few issues getting the normals to match up though!
I do game-dev things, and graphics things, shader things. I recently updated my imposter baker/shader. Primary usage is for large amounts of foliage.
Having a few issues getting the normals to match up though!