question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

webgl_shaders_ocean triggers warnings

See original GitHub issue
Description of the problem

In the current dev commit of webgl_shaders_ocean @ 1715e623ecf7b451bfef7f460cd7b2cb0828d9e6 I’m getting

[.WebGL-0x3830e6afbc00]RENDER WARNING: texture bound to texture unit 0 is not renderable.
It maybe non-power-of-2 and have incompatible texture filtering.

while in the current master webgl_shaders_ocean @ 5360a81b8c557ed255e97b87c49e7d00b546b795 changing the azimuth or the inclination slider causes

[.WebGL-0x3830e6ba8100]GL ERROR :GL_INVALID_OPERATION : glDrawArrays:
Source and destination textures of the draw are the same.

Both of them > 255 times, i.e. WebGL: too many errors, no more errors will be reported to the console for this context. follows.

Three.js version
  • Dev (1715e623ecf7b451bfef7f460cd7b2cb0828d9e6)
  • r98 (5360a81b8c557ed255e97b87c49e7d00b546b795)
Browser
  • Chrome
OS
  • Linux
Hardware Requirements (graphics card, VR Device, …)

Intel Core i7 integrated graphics, Intel something 4000? maybe 4500?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Mugen87commented, Nov 15, 2018
0reactions
Mugen87commented, Nov 15, 2018

Thanks for testing! Yes, the warnings are caused by another issue. The lighting problem was introduced with #15236, hence the simple fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Shaders to Create Realistic Special Effects in Web Design
Today we are going to explore some concepts that show the benefits of using shaders. We are going to focus on GLSL. GLSL...
Read more >
shaders - ocean - three.js webgl
three.js - webgl ocean. Controls. Sky. elevation. azimuth. Water. distortionScale. size.
Read more >
WebGL best practices - Web APIs - MDN Web Docs - Mozilla
Specifying alpha:false during context creation causes the browser to composite the WebGL-rendered canvas as though it were opaque, ignoring any ...
Read more >
WebGL Shaders and GLSL
Hi, In the section "Textures in Fragment Shaders", I ran into an error message when trying to render: "RENDER WARNING: texture bound to...
Read more >
1. Getting Started - Crest Ocean System
Requirements¶. Unity Version: 2019.4.9. Shader compilation target 4.5 or above. Crest does not support OpenGL or WebGL backends.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found