Sign in to follow this  
Einzelganger

Grafix: Plants And Walls

Recommended Posts

Hellow, this being just a minor request of little effect to anything except the visuals I will keep it short: Is it a possibility to make walls and roofs unpenetratable by leaves and grass from nearby plants? It really bugs me to have grass in my living room and a branch of maple in the kitchen... :)


 


Yours sincerelly


 


EInzelganger


  • Like 1

Share this post


Link to post
Share on other sites

+1 This bugs me, too.  When a wall goes up, the trees shouldn't be able to come through.


Share this post


Link to post
Share on other sites

The trouble is this isn't such a minor request. Collision detection between trees and buildings is probably not straightforward. Also need to take into account the fact the trees sway a bit in the wind.... only easy way I can see to do this would be horrible - limiting tree branches to the tile they are on.


Share this post


Link to post
Share on other sites

A vertex shader should do nicely here.


 


Just squash the branches on the wall side a bit.


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this