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 to “GLSL! Splatting!”
  1. would this work if i assigned four different splattable textures to the colors RGBk? πŸ˜‰

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

  3. 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. Wohoo! It’s really there. Textured shaded lightchanges in realtime.
    Apricot Branch + Game Menu + Blender GLSL Materials. Really nice!

  5. 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. 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. 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. Hey, you can to download one of the latest blender builds with glsl from

  9. Does it support parallax bump map too?

  10. Wow Brecht…You ARE the future of Blender !

    Thank you ! And thanks to all the developpers !

  11. more goodies in GLSL! πŸ™‚

  12. 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!

  13. 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?

  14. Wow! Man this is so awesome. I can’t believe all of this is finally happening! πŸ™‚

  15. 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..

  16. 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!

  17. Ups. I’m on Linux πŸ™‚ xorg-server 7.2

  18. thomas steele says:

    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

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

  20. Hi

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

  21. 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! πŸ™‚

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

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

  24. 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 ??

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

  26. 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.