Decoupled noise generation from 3D texture setup, added Android build files
This commit is contained in:
parent
56e35390df
commit
4db98481c0
9 changed files with 279 additions and 122 deletions
19
android/texture3d/build.bat
Normal file
19
android/texture3d/build.bat
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
cd jni
|
||||
call ndk-build
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
cd..
|
||||
|
||||
mkdir "assets\shaders\base"
|
||||
xcopy "..\..\data\shaders\base\*.spv" "assets\shaders\base" /Y
|
||||
|
||||
mkdir "assets\shaders\texture3d"
|
||||
xcopy "..\..\data\shaders\texture3d\*.spv" "assets\shaders\texture3d" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanTexture3d.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue