Jump to content

Finish Line Block


DylanD
 Share

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...