Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Jul 2016
    Location
    dat place
    Posts
    5

    Multitexture or GLSL

    I am making a game in Blender and I am wondering if to make the best looking game you need Multitexture or GLSL shaders? I thought the answer was immediately GLSL but it doesn't look like there are any shadows in GLSL, and the lights can be seen around corners on the floors. Is there a way to get GLSL to look good, or do I use Multitexture?



  2. #2
    Member Nicholas_A's Avatar
    Join Date
    Oct 2014
    Location
    own.worldPosition
    Posts
    826
    Multi texture shouldn't even exist anymore this day in age. I only ever use glsl and so does about 99% of other blender game makers. Glsl does have shadows so I'm not sure what you were talking about there.
    My YouTube channel | My Blendswap profile | Current Project: Infinite Ammo

    I sell custom logos for $5 (among other things). Check them out!



  3. #3
    Member Nemescraft's Avatar
    Join Date
    Mar 2016
    Location
    Somewhere on Earth
    Posts
    112
    I don't know what good Multitexture has, it's only for really low-end PCs, I think. For example, UPBGE doesn't even let you pick, it's GLSL by default. GLSL can use OpenGl scripts, shadows and nice effects.



  4. #4
    why we even have multi-texture is beyond me. classic blender, keeping everyone in the stone age.

    glsl does in fact have sun shadows, and alot of other pretty things.
    System "IVAN" (rev 1.3b) - Win7 64bit - Blender 2.74:
    CPU- Intel i3-3220 3.30 Ghz | GPU- EVGA GTX 970 | RAM- GSkill Ares 16GB 1600 Mhz | MB- ASUS P8Z77-V LK



  5. #5
    Member
    Join Date
    Jul 2016
    Location
    dat place
    Posts
    5
    1495226788279-1229869235.jpg
    There is no shadow in front of the cube.



  6. #6
    Member sdfgeoff's Avatar
    Join Date
    May 2010
    Location
    Where the best chocolate comes from
    Posts
    4,878
    Point lights do not have shadows, but sun and spot lights do
    "Someone applied a roof texture to that wall" - martinsh

    Website: www.sdfgeoff.space



  7. #7
    Member Nemescraft's Avatar
    Join Date
    Mar 2016
    Location
    Somewhere on Earth
    Posts
    112
    Yes, use Sun type in most cases, except torches or somethibg similar, where you could use Spot type. Remember to enable the Shadows option, and check if the Frustum Size is big enough to fit where you want shadows.



  8. #8
    For cartoon colours in game, multi-texture hasn't been working out for me.
    GLSL has, though!

    Also, GLSL and alt+z textured view game simulation will look just like Blender Render!
    (At least for me and material colours).
    So if you already have something in Blender Render, you don't have to change it for a game!

    Though one thing I like about multi-texture is it works on my old old laptop, whereas GLSL doesn't
    (though I might buy a new one soon anyways.)

    Oh, but if the lamp is too far away, GLSL shadows don't work.
    Scaling the lamp to make its shadow box didn't seem to help.
    And as someone else already said, the type of lamp matters.



  9. #9
    Member
    Join Date
    Aug 2006
    Location
    Madrid (Spain)
    Posts
    277
    Originally Posted by sdhy View Post
    Oh, but if the lamp is too far away, GLSL shadows don't work.
    Scaling the lamp to make its shadow box didn't seem to help.
    And as someone else already said, the type of lamp matters.
    Check "Show shadow box" in lamp tab and modify clip start/clip end. All the objects in the box should project shadows



  10. #10
    Member Nemescraft's Avatar
    Join Date
    Mar 2016
    Location
    Somewhere on Earth
    Posts
    112
    The size of the box doesn't depend on the sun's scale, but on its frustum size.



Posting Permissions

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