webgl_shaders_ocean triggers warnings
See original GitHub issueDescription 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:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh, I see. Yeah, the ico-sphere looks slightly different. Here are the links:
https://threejs.org/examples/webgl_shaders_ocean.html https://raw.githack.com/mrdoob/three.js/dev/examples/webgl_shaders_ocean.html
Thanks for testing! Yes, the warnings are caused by another issue. The lighting problem was introduced with #15236, hence the simple fix.