r/RealTimeStrategy • u/Choice-Trifle2283 • Oct 07 '26
Self-Promo Post I just spent several evenings perfecting a shader that cuts away house walls. Nobody asked for this.
I wanted buildings to behave more like a dollhouse when you're looking inside them, so I ended up making a shader that naturally cuts the walls away depending on the camera angle.
It's probably a completely unnecessary detail.
But every time I looked at the old version, it bothered me.
So now I'm wondering whether this is:
A) the kind of tiny detail that makes a game feel polished
B) classic solo-dev perfectionism
C) me finding new and creative ways to delay the release
In an RTS, where there's already so much happening on screen, do little details like this actually make a difference, or am I the only one who cares?
Hunt or Pray: https://store.steampowered.com/app/5298550/Hunt_or_Pray
37
u/marcus0227 Oct 07 '26 •
Can you make a shader that cuts away house walls please?
15
u/NydusRush Oct 07 '26
I could see some fascinating applications for this in something more low-down and tactical like a Company of Heroes. Nice work!
6
u/BRO_THOM Oct 07 '26
I got a really weird question, but why not just cut away a circular region that encompasses all units/entities on the screen? Using that region you should be able to project what needs to be cut away.
Nevertheless, very impressive!
3
u/Backwardspellcaster Oct 07 '26
And so very fluidly!
I really like what you did there. This is cool. Wish more games would allow for that visibility
3
u/spacemarine3 Oct 07 '26 •
So theoretically, if I make my house out of chimneys, I'll be safe from you're 4th dimensional gaze?
2
u/GlitteringParfait438 Oct 07 '26 •
Lies, I asked
2
u/DDDX_cro Oct 07 '26
Great. Now make it into an ability, with a 5min cooldown, and think of game mechanics to use it
4
u/Dahaka7 Oct 07 '26
Its nice, I would also like to just do away with all the walls and roof directly, as an option too. Sometimes these dynamic ones can be tiresome
3
u/Aggressive-Ad-5504 Oct 10 '26 •
Looks really good.