Remember me
You are here: HomeForumCyberix3D ForumGeneral Discussionjuego de pareja... ayuda
Welcome, Guest
Username: Password: Remember me

TOPIC: Changing the transparency of only one object?

Changing the transparency of only one object? 1 year 4 months ago #3133

  • minionboy565
  • minionboy565's Avatar
  • OFFLINE
  • Junior Boarder
  • Behold the truth ...and perish.
  • Posts: 20
  • Thank you received: 4
How do I change the alpha of only one object without changing the alpha of every other object attached to its texture?


I want to do this without creating multiple materials, or it would be inefficient.
I also want to use conditions to create a cube within a code block that changes its alpha. And I cannot create separate materials through the code for each cube to have its own material, without giving every created material the same name, which makes every created cube have the same material. This means every time one cube's alpha changes, every other cube's alpha is set to it.

I tried increasing a variable every time a cube was created, so that the material's name would be set to the variable, then the cube would have its texture set to the variable. This failed.
¹⁰¹¹⁰⁰⁰¹¹⁰¹⁰¹¹⁰¹¹¹⁰¹⁰¹⁰⁰¹¹⁰¹¹⁰⁰¹⁰¹⁰¹¹¹¹⁰¹⁰⁰¹⁰¹⁰¹¹⁰⁰⁰¹¹⁰¹⁰¹¹⁰¹¹(01101000 01100101 01101100 01101100 01101111 00100000 01101001 00100111 01101101 00100000 01101101 01101001 01101110 01101001 01101111 01101110...
The administrator has disabled public write access.
The following user(s) said Thank You: Symbiotic Interactives

Changing the transparency of only one object? 1 year 4 months ago #3134

Sorry that this reply is super late but have you tried changing the texture alpha in the object? Cause there's an alpha setting for the object and materials separately.
The administrator has disabled public write access.
Time to create page: 0.077 seconds