Closed creek23 closed 5 years ago
Hi.
Did you try with the sample object called "cube_color_obj.txt" ? Your object is supposed to have colors linked to every vertex.
see https://github.com/smart-fun/smartGL/blob/master/smartglapp/src/main/res/raw/cube_color_obj.txt
Thanks for clarifying. Using that OBJ file worked.
I was using the spaceship object but did not use texture to see how it will render -- I was hoping it will be in a default shader using ShaderColor.
~creek23
Using below code:
renderPassObject3D = new RenderPassObject3D(RenderPassObject3D.ShaderType.SHADER_COLOR, true, false);
Is it so, that using SHADER_COLOR instead of SHADER_TEXTURE for RenderPassObject3D is not currently working? Or am I missing something in my setup?~creek23