Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

109
Views
Cómo leer colores que están en mallas separadas

Tengo 2 mallas separadas, una con aguas poco profundas y otra con aguas profundas. Necesito cambiar los colores para que la transición sea más agradable. No puedo fusionar las mallas o, de lo contrario, obtendré el error de que la malla tiene demasiados vértices. ¿Alguna pista sobre cómo hacer esto?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Si desea cambiar a colores, aquí hay un script básico para desvanecer el color de un objeto a otro durante 5 segundos.

 [SerializeField] Renderer object1 = null; [SerializeField] Renderer object2 = null; Color Color1; Color Color2; // Start is called before the first frame update void Start() { Color1 = object1.material.color; Color2 = object2.material.color; } // Update is called once per frame void Update() { float lerp = Time.time / 5 * Time.deltaTime; object1.material.color = Color.Lerp(object1.material.color, Color2, lerp); object2.material.color = Color.Lerp(object2.material.color, Color1, lerp); }

}

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!