Results 1 to 4 of 4

Thread: glcreateshader not supported !

  1. #1
    Member
    Join Date
    Jan 2007
    Age
    76
    Posts
    426
    Rep Power
    60

    glcreateshader not supported !

    In the thgl pack there are examples under shaders. I keep getting messages like "glcreateshader not supported" and a few others similar to this one.

    What does this message mean?

    Thanks
    Sandy

  2. #2
    Member matthew's Avatar
    Join Date
    Mar 2007
    Location
    England
    Age
    47
    Posts
    489
    Rep Power
    66

    Re: glcreateshader not supported !

    It just means that your Graphics card hasn't got the capacity to use Shaders.

    When Petr first made the examples I experienced the same problems with my crappy graphics card, lol.
    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: glcreateshader not supported !

    Sandy,

    I am sorry it does not work for you, but shaders are really more advanced things. This is reason they are not native in TBGL ( pure TBGL code should run in any PC ).
    That sample uses TBGL + OpenGL headers. That means total power, but also this compatibility issues .

    To enjoy shaders, you would have to own card with OpenGL 1.5 at least, if I am correct.
    Do you know which card do you have ? If not, you can use script from here.

    What are shaders ? They are mini programs, executed/interpreted in driver, which allow you to go around fixed function limitations of API ( OpenGL ). They have very general use - alternative shading ( per pixel lights, toon shading, ... ) and much more.

    Feature worth upgrading if you are graphics enthusiatist / lunatic


    Bye,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: glcreateshader not supported !

    [wiki=Shader]Shader[/wiki]
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Similar Threads

  1. OpenCL: Supported hardware
    By Petr Schreiber in forum OpenCL
    Replies: 6
    Last Post: 13-02-2010, 10:36
  2. Type pointer var not supported by WITH?
    By Michael Hartlef in forum thinBasic General
    Replies: 9
    Last Post: 24-09-2008, 15:42

Members who have read this thread: 1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •