Results 1 to 2 of 2

Thread: How to Scroll Texture Just for Background

  1. #1
    Newbie Newbie
    Join Date
    Sep 2016
    Posts
    1

    How to Scroll Texture Just for Background

    Hi there! I am scrolling my background texture using shaders. But problem is any new object I render gets a scrolling texture.
    Any suggestions .

  2. #2
    Member Contributor
    Join Date
    Nov 2016
    Posts
    67
    You should use separate shaders. Do a single pass for all non-scrolling objects, and another one for scrolling objects.

Similar Threads

  1. How to scroll a drawn texture
    By RobSz123 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-19-2017, 09:48 PM
  2. Mouse scroll wheel
    By JulienB in forum OpenGL: General
    Replies: 0
    Last Post: 05-24-2007, 02:47 AM
  3. Menu with scroll ,opengl
    By pelao in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 05-24-2004, 04:25 AM
  4. How to scroll back buffer?
    By What1 in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 10-12-2003, 12:44 AM
  5. Scroll
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-11-2000, 06:03 AM

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