VITA SDK: 3D texture and light
Posted: Thu Jul 06, 2017 3:31 pm
Hi.
I wanted to create a 3D object loader for PSVITA.
The loader itself is working, I loaded ply models to test, and no problem.
But i could not find any sample code that includes both texturing and lights at the same time.
I can load a textured model without lighting... Or a lighted model without textures.
I first tried to implement vertex lighting on top of the textured cube sample included in the SDKhttps://github.com/vitasdk , and I just got a static light that won't move at all.
Then I tried to implement lighting from gxmfun https://github.com/xerpi/gxmfun on top of the textured cube. And It just did not work at all.
Vita's 3d is so complicated, I could not mix the texture sample with the light sample, so I was wondering if somebody could help.
Thanks a lot!
I wanted to create a 3D object loader for PSVITA.
The loader itself is working, I loaded ply models to test, and no problem.
But i could not find any sample code that includes both texturing and lights at the same time.
I can load a textured model without lighting... Or a lighted model without textures.
I first tried to implement vertex lighting on top of the textured cube sample included in the SDKhttps://github.com/vitasdk , and I just got a static light that won't move at all.
Then I tried to implement lighting from gxmfun https://github.com/xerpi/gxmfun on top of the textured cube. And It just did not work at all.
Vita's 3d is so complicated, I could not mix the texture sample with the light sample, so I was wondering if somebody could help.
Thanks a lot!