Results 1 to 5 of 5

Thread: Extra floor - texture mapping

  1. #1
    Guest

    Extra floor - texture mapping

    hi,

    If I have a floor constructed by bunch of textures I see places where these textures are connected (I can recognize elements of the floor - textures). How to make the floor as a whole floor, not a bunch of textures which anyone can be recognized by my eye?
    How to make a floor smoother?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    Melbourne, Australia
    Posts
    224

    Re: Extra floor - texture mapping

    you need a kind of texture whose left side fits with it's right side and top fits with bottom...

  3. #3
    Guest

    Re: Extra floor - texture mapping

    I know this, but I load textures from wolfenstein!!! These are really good! (walls and floors)

    I am asking are there any function wchich fix a little this problem

  4. #4
    Guest

    Re: Extra floor - texture mapping

    Use the following texture parameters:
    ::glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
    ::glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);

    This _should_ hide the joins on your polygons.

  5. #5
    Guest

    Re: Extra floor - texture mapping

    Thanks I'll try it soon

Similar Threads

  1. Higlighting bitmap fonts, using shaders or an extra texture?
    By Vantskruv in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 07-28-2017, 06:34 AM
  2. texture sampling artifacts and floor()
    By ikka_ in forum OpenGL: GLSL
    Replies: 8
    Last Post: 11-25-2011, 07:22 AM
  3. sampling extra texture in fp boosts performance !?!
    By Undertaker in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 04-29-2005, 10:13 AM
  4. How expensive is the use of extra texture-units?
    By Jan in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 10-07-2004, 10:59 AM
  5. a floor
    By Gelero in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-23-2000, 11:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean