Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

LoadShader illegal non-ASCII character #30

Description

@eliasstepanikVW

Hallo,
i wanted to load a Shader.

So I first tried using LoadShader..
LoadShader(Textformat(string, value),Textformat(string,value))

It then showes:
[11:41:07 INF] FILEIO: [Data/Scenes/Test2/Shader/base_lighting.vert] Text file loaded successfully
[11:41:07 INF] FILEIO: [Data/Scenes/Test2/Shader/lighting.frag] Text file loaded successfully

but then it print out this:
`
[11:41:07 WRN] SHADER: [ID 4] Failed to compile vertex shader code
[11:41:07 WRN] SHADER: [ID 4] Compile error: ERROR: 0:1: '' : illegal non-ASCII character (0xef)
ERROR: 0:1: '' : illegal non-ASCII character (0xbb)
ERROR: 0:1: '' : illegal non-ASCII character (0xbf)

[11:41:07 WRN] SHADER: [ID 5] Failed to compile fragment shader code
[11:41:07 WRN] SHADER: [ID 5] Compile error: ERROR: 0:1: '' : illegal non-ASCII character (0xef)
ERROR: 0:1: '' : illegal non-ASCII character (0xbb)
ERROR: 0:1: '' : illegal non-ASCII character (0xbf)

[11:41:07 WRN] SHADER: [ID 6] Failed to link shader program
[11:41:07 WRN] SHADER: [ID 6] Link error: Attached vertex shader is not compiled.
`

My shader Files are from the basic_lighting Example.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions