Added android support for deferred, displacement and spherical environment mapping examples (#97)

This commit is contained in:
saschawillems 2016-03-25 14:12:17 +01:00
parent c69af6cdca
commit c6bdca128a
25 changed files with 604 additions and 230725 deletions

View 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\deferred"
xcopy "..\..\data\shaders\deferred\*.spv" "assets\shaders\deferred" /Y
mkdir "assets\models\armor"
xcopy "..\..\data\models\armor\*.*" "assets\models\armor" /Y
mkdir "res\drawable"
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
call ant debug -Dout.final.file=vulkanDeferred.apk
) ELSE (
echo error : ndk-build failed with errors!
cd..
)