java.lang.Exception: Can't find uniform: lightColor

Stack Overflow | Trese | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can't find uniforms in the fragmentShader lwgl 3

    Stack Overflow | 5 months ago | Trese
    java.lang.Exception: Can't find uniform: lightColor

    Root Cause Analysis

    1. java.lang.Exception

      Can't find uniform: lightColor

      at com.ms.shaders.ShaderProgram.getUniformLocation()
    2. com.ms.shaders
      Shaders.createUniforms
      1. com.ms.shaders.ShaderProgram.getUniformLocation(ShaderProgram.java:50)
      2. com.ms.shaders.Shaders.createUniforms(Shaders.java:32)
      2 frames