playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
CAN I SET THE NUMBER OF MATERIALS ON A GAME OBJECT? (mesh renderer)
« previous
next »
Print
Pages:
1
[
2
]
Go Down
Author
Topic: CAN I SET THE NUMBER OF MATERIALS ON A GAME OBJECT? (mesh renderer) (Read 8496 times)
acriticalstrike
Playmaker Newbie
Posts: 24
Re: CAN I SET THE NUMBER OF MATERIALS ON A GAME OBJECT? (mesh renderer)
«
Reply #15 on:
July 18, 2014, 04:31:53 PM »
well folks I've been talking with a programmer who is much more skilled and experienced than I and knows a heck of a lot about unity and he says that using multiple materials on a game object is bad for performance and will increase the draw calls so what I started here may be irrelevant and I may modify my meshes so that they use only one material and I use a shader that might behave in such a way that I achieve the desired visual effects I would like to see without using those extra materials
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: CAN I SET THE NUMBER OF MATERIALS ON A GAME OBJECT? (mesh renderer)
«
Reply #16 on:
July 19, 2014, 01:00:35 AM »
Hi
For this, you need to inject in your MeshRenderer component the list of materials or sharedMaterials.
Are you ok with c# and action building? I checked the unity doc and I think it's doable.
Bye,
Jean
Logged
Print
Pages:
1
[
2
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
CAN I SET THE NUMBER OF MATERIALS ON A GAME OBJECT? (mesh renderer)