Blog! Team! Forum! About Apricot! Press! Gallery! Development! Yo Frankie! Apricot Open Game Project mee!
Jun 10

GLSL! Splatting!

icon1 blengine | icon2 Development | icon4 06 10th, 2008

GLSL shading is now in blender, thanks to the work of our rockstar coder Brecht. Just enable it in your preferences under System & OpenGL, and change to the shaded draw type. Among other amazing things, this means normal maps in 3d view!

Along with this also comes the ability to paint multiple textures directly onto your objects using texture paint mode in the 3d view. Because with glsl blender can draw materials with texture stacks that contain stencil maps, splatting grass and dirt onto your terrain is as simple as using texture paint mode with a stencil map assigned to the uvs. It’s such a beautiful thing. Watch the video to learn how this is done. The idea is that this same texture stack will then be exported to crystal space for splatting for the game.

Download the .ogg file
Download the blend file from the video

76 Responses

  1. bmud on

    would this work if i assigned four different splattable textures to the colors RGBk? 😉

  2. Budi on

    I have the same problem as John. I don’t have GL Shaded Mode in my blender 2.46

  3. Josh on

    Hi, I stumbled on this gem while going to “class” (those video tutorials sure work well!) this morning, and swapped programs frantically in an attempt to keep up with the video. However, as a few other people here noted, the GL Shaded Mode button doesn’t exist. 😛 I just wanted to clarify, is there anyway to implement this feature without waiting for a new Blender release?

  4. Engys on

    Wohoo! It’s really there. Textured shaded lightchanges in realtime.
    Apricot Branch + Game Menu + Blender GLSL Materials. Really nice!

  5. Jacco on

    Erm, I don’t know what build you use, or where to download it, but when I texture paint, all goes White, shadeless, so I don’t have a clue of what I’m painting..


  6. DDD on

    I don’t have GLSL in my blender v2.46, or maybe I do but the button to activate it is not in the user preferences (under “System & OpenGL”). Help please. 🙁

  7. DDD on

    Does anyone know where I can find some Blender game engine tutorials? (not the simple ones, maybe with python…)

    And what is this crystal thing?

    TY for answers!

  8. chris on

    Hey, you can to download one of the latest blender builds with glsl from

  9. youne on

    Does it support parallax bump map too?

  10. LeFaquin on

    Wow Brecht…You ARE the future of Blender !

    Thank you ! And thanks to all the developpers !

  11. Steffen on

    Brecht is a son of a gun! while readig this article on sunday i was so happy, an now it´s in the GE too! thank you, thank you, thank you!

  12. Todd A McCullough on

    I downloaded the latest apricot build from the graphicall link, but can’t see a GL Shaded Mode button.
    Do I need to install other OpenGL things for it to show and run?

  13. Brandon on

    Wow! Man this is so awesome. I can’t believe all of this is finally happening! 🙂

  14. Jacco on

    I think my crad wont support it..
    I have an NVIDIA GeForce 9300M G

    I dont understand, when I want to vertex paint, my object goed white, shadeless..

  15. drmad on

    Hi. A dumb, perhaps out-of-place question: I have blender 2.46, and there is not a “GL Shaded mode” button in the User Preferences window. Also, this blender version draws everything _very_slow_ on my machine. Previous versions (2.45 and older) ran pretty nice. I have a NVidia GeForce FX 5500 with the lastest driver. Any insights?

    Thanks alot!

  16. drmad on

    Ups. I’m on Linux 🙂 xorg-server 7.2

  17. thomas steele on

    i’ve done everything the same as you have Brecht but it just wont work do you know how i could fix this issue.

    and yes i’ve done everything correct >:( EVERYTHING

  18. CHad on

    why don’t i have the little button that you say to click?!

  19. Koto on


    It looks great but when I press P, GE starts but I can see white terrain :(.

  20. Ataru on

    Anyone know which build I should install? I would prefer one with Grease Paint, the new icon set, and most of all, the GLSL shader.

    Anyone? Thanks! 🙂

  21. Ataru on

    Aha, smart people told me how to get the shader working:

  22. Kaizer on

    Activate GLSL in menu: ->”Game”->”Blender GLSL Materials”.
    Then hit “Alt+Z” (textured mode).

  23. Mr Cheat on

    i have laptop acer with nvidia 9300m gs 256 but i have lil lag in graphics :(( i know nothin about nvidia this is my 1st tie to use it any solutions ??

  24. Minifig on

    Is there a html or pdf version somewhere?
    (my comp blocks all vids)

  25. mbeave408 on

    None of the BGE DVDs/book published/sold by Blender shop work with the new Blender 2.5 releases. Could someone simply publish an example or 2 of the the new API. Maybe a conversion script could be published like the that was done for the 2.48 to 2.49 conversion. Even a short tutorial with a converted BGE script would be helptul.