Added android support for parallax mapping, pipelines, push constants, radial blur, skeletal animation and tessellation examples (#97)

This commit is contained in:
saschawillems 2016-03-25 21:08:59 +01:00
parent fd18bd8084
commit 3bcc162011
42 changed files with 6241 additions and 2270 deletions

View file

@ -0,0 +1,24 @@
cd jni
call ndk-build
if %ERRORLEVEL% EQU 0 (
echo ndk-build has failed, build cancelled
cd..
mkdir "assets\shaders\parallax"
xcopy "..\..\data\shaders\parallax\*.spv" "assets\shaders\parallax" /Y
mkdir "assets\textures"
xcopy "..\..\data\textures\rocks_color_bc3.dds" "assets\textures" /Y
xcopy "..\..\data\textures\rocks_normal_height_rgba.dds" "assets\textures" /Y
mkdir "assets\models"
xcopy "..\..\data\models\plane_z.obj" "assets\models" /Y
mkdir "res\drawable"
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
call ant debug -Dout.final.file=vulkanParallaxmapping.apk
) ELSE (
echo error : ndk-build failed with errors!
cd..
)