DylanD

Finish Line Block

Recommended Posts

Hey everyone, hope you are all having a good morning.

 

I am trying to make a finish line block for my game.  However when i apply a finish line texture to it and then tile it, it creates an undesired product.  Check out this playground i made to illistrate my problem: https://www.babylonjs-playground.com/#20OAV9#370

What works is the front and back face, having a nice tiled finish line look.  What doesnt work is the top, bottom and the sides.  They become blurred because of my tiling option.

Any ideas how I could fix this?

 

I have had this problem before with a shader which i fixed by using normals to find out with side of the box and then apply a slight change to my shader.  However I do not know how i could go about fixing this with a texture/material.

 

Edit:

I followed this doc for the tiling: https://doc.babylonjs.com/how_to/more_materials

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

  • Recently Browsing   0 members

    No registered users viewing this page.