Welcome to Black Liquid Software

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • 0
Sign in to follow this  
Followers 0
MackGideon

Texture transparency

I'm gonna be making some foliage and flower boxes for bay windows and planter boxes, so I started making some shrubs. The poly count quickly reached the hundreds for even a very small model. I realised that maybe the way to go would be with a simple geometric outline of the shrub, with each face textured with a partially transparent image, to replicate a bush but with like 8 or 10 vertexes.

Do banished model file types support textures with transparency?

If not, what is the best method to make shrubbery? Thanks doods. ☺

1 person likes this

Share this post


Link to post
Share on other sites

1 answer to this question

  • 1

Yup transparency is supported, that is how most of the trees and crops etc. are made. 

 

My flax was made using this method. For the stem, I had a few blades of long grass on a transparent background. These were applied to a 6 sided cylinder. I then added a few square planes around the outside, which had a flax flower on a transparent background.

FlaxPlant.thumb.jpg.b5fcf2f85b9695b86536cce2178fc1fa.jpg

 

 

Have you started coding yet? You need to use a different code for these textures than the normal ones to tell the game that they are transparent. You should also be careful when applying the ambient occlusion the building, as they can often cast a perfectly square shadow on whatever is behind them, rather than the shape of the flower. I am not sure if there is a way around this, I usually just lift them off the model before baking, then put them back.

1 person likes this

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  
Followers 0