Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / texture mapping

Author
Message
W Red
1
Years of Service
User Offline
Joined: 8th Oct 2022
Location:
Posted: 29th Dec 2022 08:47
Hello guys, how to apply multiple textures to an object?
W.R
psikoT
11
Years of Service
User Offline
Joined: 7th Oct 2012
Location:
Posted: 29th Dec 2022 15:41
Use SetObjectImage as described in the docs:
https://www.appgamekit.com/documentation-studio/Reference/3D/SetObjectImage.htm

Alternatively, you can assign multiple textures to each mesh with SetObjectMeshImage as described here:
https://www.appgamekit.com/documentation-studio/Reference/3D/SetObjectMeshImage.htm
smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 29th Dec 2022 18:43
you can assign light maps normals diffuse ect all to the same object but if your wanting 2 textures on the same object u need to make sure your object is set up correctly where is has multiple meshes. each mesh can be assigned a different texture.
A cube with each face having a different texture for example. If your wanting two texture on one object u will need a mix shader there one linked below. Your have to adjust the scaling to your needs

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-20 13:36:03
Your offset time is: 2024-04-20 13:36:03