Shader error in 'PicaVoxel/PicaVoxel PBR': invalid subscript 'boxMax' at line 132 (on glcore).

0
Thanitsak posted this 01 May 2017

After I switch platform from window to iOS there are couples of errors and the color of the voxel look bad like from white to pink. All the work I have like trees in the map everything is now pink. Please help and much appreciate!

Here the error :

Shader error in 'PicaVoxel/PicaVoxel PBR': invalid subscript 'boxMax' at line 132 (on glcore)

Compiling Vertex program with DIRECTIONAL SHADOWSSCREEN LIGHTMAPOFF DIRLIGHTMAPOFF DYNAMICLIGHTMAPOFF Platform defines: UNITYNODXT5nm UNITYENABLEREFLECTIONBUFFERS UNITYNOSCREENSPACESHADOWS UNITYPBSUSEBRDF2 SHADERAPIDESKTOP UNITYHARDWARETIER3 UNITYCOLORSPACE_GAMMA

Last edited 01 May 2017

2 Comments
Order By: Standard | Newest | Votes
1
GarethIW posted this 01 May 2017

These shaders should fix the issue:

https://1drv.ms/u/s!AhdchalVsPvXnLdH3fitzPJqupJU0Q

Replace the shaders in PicaVoxel/Shaders with the ones in the zip.

0
Thanitsak posted this 01 May 2017

Wow THANK YOU VERY MUCH!!!!!!!!!!!!

MUCH MUCH APPRECIATE!!!!!!!!


Our 305 members have posted 395 times in 93 discussions