Skip to content

Shader version at the top of the file #25

@VikingScientist

Description

@VikingScientist

The shaders would not compile on my computer if the version definition was not placed on the first line in the file. The QT gui did start, but no 3D models was possible to present. Commandline showed the following error message

***
QOpenGLShader::compile(Fragment): 0:44(1): preprocessor error: #version must appear on the first line

*** Problematic Fragment shader source code ***

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions