Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6124735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:09:59+00:00 2026-05-23T16:09:59+00:00

When I Render 5 boxes in webgl with 1 texture all of them, the

  • 0

When I Render 5 boxes in webgl with 1 texture all of them, the app runs at 60 fps, nice. But when I render 70 boxes the performance dicrease to ~40fps but in the view volumes are still 5.

I have debugged the app and all 70 boxes are using per fragment shaders when there are no need because 65 of them are out of frustum. I thought that gl.viewport declaration clipped out of view polygons but not.

I would like to know if fustrum culling is the technique to avoid this? How can I activate fustrum culling? Is there any webgl command or I have to do it manually?

Thanks in advance,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:10:00+00:00Added an answer on May 23, 2026 at 4:10 pm

    You guessed it: you have to do it manually.

    But this technique is at the object level.. Individual triangles that are outside the viewport should be culled by the hardware automatically.

    Is it possible that your draw loop has other inefficiencies that may be slowing things down as the number of boxes increases? For example, are you binding the texture for each box? Or querying the shader with getAttribLocation or getUniformLocation? Or doing other WebGL queries (all of which will slow the pipeline dramatically)?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I render all my surfaces to a buffer, then at the end of the
How to render partial view in some specific div without using ajax in asp.net
I want to render the partial view using ajax. When I submit the button,
i´m trying to render PDF with renderpdf grails plugin, but their documentation is very
In trying to render a form im getting: NameError in Deals#new Showing /Users/nelsonkeating/Desktop/ReminDeal1/app/views/deals/_form.html.erb where
since IE won't render XHTML as XHTML, but treat it as HTML instead, when
I use RenderAction to render a partial that is used all over my site.
I'm using $form->input(time) to render select boxes for time input. They have minute-accuracy, which
I have the following problem with QT model/view framework. I want to render a
I couldn't find a way to render my input boxes semi-transparent. I have an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.