Added android support for shadow mapping (projected and omni) and texture (array and cubemap ) example (#97)
This commit is contained in:
parent
c6bdca128a
commit
08fc2feecc
33 changed files with 1363 additions and 77 deletions
20
android/texturearray/build.bat
Normal file
20
android/texturearray/build.bat
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
cd jni
|
||||
call ndk-build
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo ndk-build has failed, build cancelled
|
||||
cd..
|
||||
|
||||
mkdir "assets\shaders\texturearray"
|
||||
xcopy "..\..\data\shaders\texturearray\*.spv" "assets\shaders\texturearray" /Y
|
||||
|
||||
mkdir "assets\textures"
|
||||
xcopy "..\..\data\textures\texturearray_bc3.ktx" "assets\textures" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanTexturearray.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue