Results 1 to 4 of 4

Thread: glcreateshader not supported !

  1. #1

    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

    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,086
    Blog Entries
    5
    Rep Power
    725

    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
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10

    Re: glcreateshader not supported !

    [wiki=Shader]Shader[/wiki]
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

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

Posting Permissions

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