Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Dice with one side inked?

Discussion in 'Scripting' started by Bongmo, Feb 24, 2015.

  1. Bongmo

    Bongmo

    Joined:
    Jan 18, 2014
    Posts:
    155
    Hi,

    I have a white dice. One side is textured red. On the bottom of the scene is a plane with white texture. Now when I throw this dice and when the red side of the dice touches the plane it should draw red color on the plane.

    How can I do this? It's like blood splatter.

    Thank you for any help you can provide.
     
  2. gamer_boy_81

    gamer_boy_81

    Joined:
    Jun 13, 2014
    Posts:
    169
    You can change the whole material on the renderer or if the material and the shader support color,
    then just change the color.