Crashalot
Crashalot

Reputation: 34503

SceneKit and SCNBox: use one generic texture but change appearance with different colors?

Is it possible with SCNBox to use different colors for the material and then overlay a grainy texture? The net effect lets you effectively create an infinite number of different colored textures while only using a single image.

Is this possible with SceneKit?

This question is different from this post, as the solutions suggest different images for different colored textures.

Upvotes: 1

Views: 656

Answers (1)

mnuages
mnuages

Reputation: 13462

is the multiply material property what you're looking for?

You can use your image for the diffuse material property, and then set a color to multiply to tint that image.

Upvotes: 3

Related Questions