New alpha release. The biggest changes are:
- vita2hos now points to upstream @Vita3K:
Vita3K now has a Vulkan renderer (special thanks to @Macdu)!
Along the Vulkan renderer for Vita3K, @Macdu also improved the shader recompiler, which vita2hos depends on! - Use a shadow depth/stencil buffer (only initial support is implemented).
This should fix the problem introduced in version Alpha 0,2 that made vita2hos unable to work on real hardware: Switch's GPU doesn't support pitch-linear depth/stencil (DS) surfaces, and the block-tiled layout takes more bytes than just4 * W * H
, so we can't use the buffer provided by the Vita SW (sceGxmBeginScene
'sdepthStencil
). Therefore we have to create a shadow DS surface with the proper size (returned bydkImageLayoutGetSize
); - Initial support for pitch-linear textures (in the fragment shader)!
Instructions
Check https://github.com/xerpi/vita2hos#how-can-i-use-it
Sample PSVita homebrew:
- gxmfun (modified to not use uniform buffers for lighting): download
- vitasdk GXM textured cube sample: download
- vitasdk GXM cube sample: download
- vitasdk GXM triangle sample: download
- VITA-8: download
- vitasdk touch sample: download