Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
acgl
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ACGL
  • acgl
  • Wiki
  • faq

faq

Last edited by Ming Li Nov 26, 2015
Page history

My texture is black, what am I doing wrong?

If a texture is 'incomplete', only black gets sampled. One common reason is that mip-mapping is activated for filtering but the texture has no mip-maps. For most texture types using mip-maping as a filter mode is the default! So either call generateMipmaps() on them or change the minification filter.

Why are my textures upside down?

The coordinate system of OpenGL starts at the bottom on the left while the coordinate systems of some fileformats start at the top left corner. A coordinatesystem transformation is not performed while loading the image. If the image gets loaded manually using an intermediate TextureData object, TextureData::flipVertically() can be called.

Clone repository
  • .vao file format
  • acgl compile time settings
  • acgl versions
  • basic openGL concepts to look up
  • custom shader parser
  • debugging opengl
  • extending acgl
  • external libraries included in acgl
  • faq
  • function overview
  • gamepad
  • getting started
  • Home
  • includes in shaders
  • learning openGL
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.