Tomasz Stachowiak

@h3r2tic@mastodon.gamedev.place
2.1K Followers
202 Following
75 Posts

Making Tiny Glade ๐Ÿฐ๐ŸŒฟ

Rustacean ๐Ÿฆ€ Torturer of GPUs ๐Ÿ”ฅ

One half of https://pouncelight.games

Ex Embark, SEED, Frostbite, Creative Assembly

๐Ÿ™ˆhttp://h3.gd
hehim

I wrote a little HLSL ray marcher while experimenting with contact shadows and lighting "reference mode" for Tiny Glade.

Here's the code if anyone's interested: https://gist.github.com/h3r2tic/9c8356bdaefbe80b1a22ae0aaee192db

Depth buffer raymarching for contact shadows, SSGI, SSR, etc.

Depth buffer raymarching for contact shadows, SSGI, SSR, etc. - raymarch.hlsl

Gist
Finally, the most striking effect is at dusk. The bricks and rocks recover their hues, and the sickly orange overcast is gone. The sheep looks much healthier too.
The difference at night is subtle, and mostly visible in the sky, which once again loses its inexplicable cyan shift.
Day time gets a softer presentation, with somewhat suppressed highlights, and a more natural color for the bricks, without the strange greenish overcast. The cyan shifts near the horizon disappear as well.

Finally ported ๐Ÿฐ๐ŸŒฑ Tiny Glade to my ๐ŸŒˆ๐Ÿ™ˆ Tony McMapface display transform (https://github.com/h3r2tic/tony-mc-mapface/).

The old transform was something I had developed years ago, and incorrectly considered "neutral". Here's a quick before & after comparison ๐Ÿงต!

GitHub - h3r2tic/tony-mc-mapface: A cool-headed display transform

A cool-headed display transform. Contribute to h3r2tic/tony-mc-mapface development by creating an account on GitHub.

GitHub

I've added a basic OCIO config to TonyMcMapface, so you can enjoy it in various content creation apps ๐Ÿ˜›

https://github.com/h3r2tic/tony-mc-mapface

(I have no idea what I'm doing so I hope the config is okay ๐Ÿ˜…)

GitHub - h3r2tic/tony-mc-mapface: A cool-headed display transform

A cool-headed display transform. Contribute to h3r2tic/tony-mc-mapface development by creating an account on GitHub.

GitHub

Introducing ๐ŸŒˆ๐Ÿ™ˆ Tony McMapface ๐ŸŒˆ๐Ÿ™ˆ: a cool-headed display transform ("tone mapper")

Tony maps HDR Rec.709 to LDR in a (subjectively) natural way, without messing too much with contrast or look.

Comes as a LUT + HLSL for sampling it.

https://github.com/h3r2tic/tony-mc-mapface

GitHub - h3r2tic/tony-mc-mapface: A cool-headed display transform

A cool-headed display transform. Contribute to h3r2tic/tony-mc-mapface development by creating an account on GitHub.

GitHub
ร—
The difference at night is subtle, and mostly visible in the sky, which once again loses its inexplicable cyan shift.
Finally, the most striking effect is at dusk. The bricks and rocks recover their hues, and the sickly orange overcast is gone. The sheep looks much healthier too.

I'm sure some will say that the orange and cyan looked better, and there's indeed nothing wrong with having such stylized looks ๐Ÿ˜„ It was all accidental though; those colors were emerging from a faulty image formation process.

We will need to revisit the lighting and grading in order to make it look a bit more exciting, but this time we have the necessary control and (more) sanity in the color pipe.

@h3r2tic I am really sorry

Jokes aside, this is awesome work!

Also, I aspire to be as good at naming stuff as you are when I grow up ;)

@mhalber I don't know what you mean, those are completely different!