Jump to content

Shader Line Width


SpiderPig
 Share

Go to solution Solved by Josh,

Recommended Posts

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...

Link to comment
Share on other sites

  • Solution
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

  • Thanks 1

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...