Author Topic: Shader errors in Tenkoku 1.1.6 (Unity 5.6.2f1)  (Read 2609 times)

nullterminator

  • Newbie
  • *
  • Posts: 2
    • View Profile
Shader errors in Tenkoku 1.1.6 (Unity 5.6.2f1)
« on: August 28, 2017, 08:47:35 PM »
Hi,

I have been attempting to upgrade my version of Tenkoku, as it causes my game to perform quite slowly on Android / Google Daydream. Unfortunately, even after doing a clean reinstall of Tenkoku, i.e., following the steps outlined here, I'm getting shader errors in my console.

Here are the errors that are occurring:

Code: [Select]
Shader error in 'TENKOKU/Tenkoku_Sky_Elek': '[' : syntax error syntax error at Assets/TENKOKU - DYNAMIC SKY/SHADERS/AtmosphericScattering.cginc(199) (on gles)

Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_COLORSPACE_GAMMA

Code: [Select]
Shader error in 'TENKOKU/Tenkoku_sky_elek_Scatter': '[' : syntax error syntax error at Assets/TENKOKU - DYNAMIC SKY/SHADERS/AtmosphericScattering.cginc(199) (on gles)

Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_COLORSPACE_GAMMA

I am using Tenkoku 1.1.6, Unity 5.6.2f1, and macOS 10.12.6. Any help is appreciated.

Chingwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 1704
    • View Profile
    • Tanuki Digital
Re: Shader errors in Tenkoku 1.1.6 (Unity 5.6.2f1)
« Reply #1 on: August 28, 2017, 11:40:20 PM »
Tenkoku does not support mobile platforms, which may be why you're getting the shader errors.  If you switch your target from android back to pc/mac do you still run into these errors?

nullterminator

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Shader errors in Tenkoku 1.1.6 (Unity 5.6.2f1)
« Reply #2 on: August 29, 2017, 12:40:07 PM »
Tenkoku does not support mobile platforms, which may be why you're getting the shader errors.  If you switch your target from android back to pc/mac do you still run into these errors?

Yes, if I switch the platform back to PC the shader errors are gone. Thanks for the info; I suppose I'll have to find some other solution for weather effects on VR / mobile...

Teeraporl

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Shader errors in Tenkoku 1.1.6 (Unity 5.6.2f1)
« Reply #3 on: November 09, 2017, 03:48:57 AM »
Is there any way to fix it?