Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Bugs
»
Shader isn't copied
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Shader isn't copied (Read 3984 times)
Thomas.
double
Posts: 833
Shader isn't copied
«
on:
July 29, 2012, 02:12:16 pm »
By constructor Object3D(Object3D obj, boolean reuseMesh) is not copied shader too.
«
Last Edit: July 29, 2012, 02:27:58 pm by Thomas.
»
Logged
My game for Android
,
Physics example
,
Texture assistant
EgonOlsen
Administrator
quad
Posts: 12297
Re: Shader isn't copied
«
Reply #1 on:
July 30, 2012, 07:19:32 am »
No, it's not. And it's actually not supposed to be. These constructors were actually meant to make a clone of the object, not of it's attributes. Is there a problem with setting the shader yourself after the creation of the object?
Logged
Thomas.
double
Posts: 833
Re: Shader isn't copied
«
Reply #2 on:
July 30, 2012, 02:32:18 pm »
Ok, ok, I thought, that it is unwanted result
Logged
My game for Android
,
Physics example
,
Texture assistant
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Bugs
»
Shader isn't copied