Skip to content

put some shaders in the library ? #4

Description

@craff

Maybe in could be a good idea to put some shaders in the library ?

Typically:

  • a shader for points and lines (from examples/curves)
  • a shader for illumination with ambient/diffuse/specular light with a table of light source, similar to OpenGL (from examples/flying_cube, but need adaptation to an array of light source)
  • a shadow map shader (from examples/testc, examples/testd, examples/spheres), that would add shadow to the previous shader.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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