Skip to content

u/Ignatiamus

In this archive from Mar 2019 to Aug 2021

4
posts
127
comments
2
media
806
score

Top posts

Top comments

So… as you seem to have rubber ducks in abundance, you can also place one on your desk to help with coding and other tasks ;)

Seriously, it looks awesome, getting better by the day.

I spotted a minor problem with the reflections that I remember experiencing as well when trying to create a water shader. It's especially visible in the first few seconds, when the ducks are still far away from the water surface but are already reflected on it. Never really investigated it though.

19 points

This is done by having a viewport with a fullscreen quad and a camera which both point at the terrain surface from below. The quad has a shader which reads the depth texture and after some calculations adds it to the previous (viewport) texture (this is called ping-pong texture). The resulting texture then gets a blur filter applied (for smoothness) and is used inside the snow shader to deform the terrain vertices.

I was inspired to do this when seeing the snow in games like Red Dead Redemption 2 and The Last Of Us 2. The technique is inspired by the way it was done in Batman: Arkham Origins.

My next step is to apply this to heightmap terrain and to have different terrain materials (mud, sand, etc).

The character is not mine, it's GDQuests' mannequin, licensed under MIT.

18 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.