BSP loader with shader support

This is a discussion on BSP loader with shader support within the Game Programming forums, part of the General Programming Boards category; The problem at the corners can be fixed by using the correct textures. The sides of a skybox can be ...

  1. #16
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    The problem at the corners can be fixed by using the correct textures. The sides of a skybox can be mirrored but the top and bottom textures must be different. The top texture will share all 4 of its edges with all 4 of the top edge of the sides of the skybox. The bottom texture will share all 4 of its edges with all 4 of the bottom edge of the sides of the skybox.

    You can't just use the same texture in a skybox IF:

    The texture you are using has any type of edge continuation or edge features that are meant to be mirrored.

    But if you place all the important textures in a skybox in the center of the texture then you can tile this across the entire box, but this is a severe limitation.

    I've also tried making a sphere and a hemisphere around the player but it doesn't look right. There is also a method to make a small sphere 'patch' above the player - but the height must be exactly right or it does not look right at all.

    Joint Ops from Novalogic uses this patch method, Freelancer uses the skysphere/skybox methods, and most of the shooters use a traditional skybox from what I can tell.

  2. #17
    ---
    Join Date
    May 2004
    Posts
    1,379
    Bubba: obviously malikawan19 didnt realise that he bumped an old thread.

  3. #18
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    LOL. Obviously I didn't realize it either.

    My apologies.

    ::2 years Bubba....yeah way to go bud.........

  4. #19
    ---
    Join Date
    May 2004
    Posts
    1,379
    heh, i forgive you.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 01:29 PM
  2. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 02:49 PM
  3. Dev-cpp - compiler options
    By tretton in forum C Programming
    Replies: 7
    Last Post: 01-06-2006, 05:20 PM
  4. Replies: 6
    Last Post: 11-12-2005, 10:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21