xamarin / urho-samples

Samples for the Urho bindings
MIT License
384 stars 491 forks source link

Feature Sample 42 crashes on android (PBRMaterials) #33

Closed MichalPetryk closed 6 years ago

MichalPetryk commented 7 years ago

Sample application crashes when i try to set PBR material. I got an exception:

[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Failed to compile pixel shader PBRLitSolid(IBL PBR):
0:255: P0004: High precision not supported, instead compiling high precision as medium precision
:10240: S0001: Type mismatch in arithmetic operation between 'int' and 'float'. You can omit this exception by subscribing to Urho.Application.UnhandledException event and set Handled property to True.

I'm using Urho.Forms v1.2.21.

Thanks for help!