SpiderPig Posted April 10 Share Posted April 10 If I create a mesh with MESH_LINES is there a variable in the shaders that can make that line thicker? Much like gl_PointSize? I tried glLineWIdth but I'm not sure if it can be done in the fragment shader... maybe I need the vertex shader... Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted April 10 Solution Share Posted April 10 Quote E.2.1 Deprecated But Still Supported Features The following features are deprecated, but still present in the core profile. They may be removed from a future version of OpenGL, and are removed in a forwardcompatible context implementing the core profile. • Wide lines - LineWidth values greater than 1.0 will generate an INVALID_- VALUE error. https://registry.khronos.org/OpenGL/specs/gl/glspec46.core.pdf 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.