Donate Now Goal amount for this month: 100 USD, Received: 0 USD (0%)
Donate to support this site and ThinBASIC project development

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 8.1 64-bit
    CPU: AMD C-70 APU 40nm Technology
    Memory: 2.0GB DDR3 @ 538MHz
    Graphics: 256MB ATI AMD Radeon HD 7290 Graphics

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,444
    Rep Power
    655

    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    47
    Posts
    7,622
    Blog Entries
    2
    Rep Power
    10

    Re: glcreateshader not supported !

    [wiki=Shader]Shader[/wiki]
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win7Pro 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

Bookmarks

Posting Permissions

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