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.

Values useRenderToTexture and __useRenderToTexture seems never be set

See original GitHub issue

While browsing through the sources I have come across a thing I do not understand: in function useMultisampledRTT there is a reference to a value renderTargetProperties.__useRenderToTexture, but no such value is used anywhere in the code.

Is this something user is supposed to set somehow?

Does useMultisampledRTT ever return true?

There is also a reference to value renderTarget.useRenderToTexture in setRenderTargetTextures. The value is only set to false there and never used. Is this some kind of relic?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Mugen87commented, Jun 29, 2022

From Twitter:

The Quest browser supports this extension. Without it, we can’t have multisampled support with foveation.

0reactions
donmccurdycommented, Jun 28, 2022

Does any device+browser support WEBGL_multisampled_render_to_texture today? I’ve been trying a few modern devices and can’t find it.

UPDATE: 🧵 https://twitter.com/donrmccurdy/status/1541821841920122880

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to invert texture colours in OpenGL - Stack Overflow
b,1) It is best to do this kind of thing in the shader, if you want to do it once and then reuse...
Read more >
stk-code/changes.txt at master - GitHub
- Skip rendering of lines, points, and polygons, as these lead to crahses due to wrong access to the vertex lists. A fix...
Read more >
Dirty hack:: depth pass shadow volumes - Quake3World.com
Stop me if this has been done before, but I've never seen it. ... a generic texture, and then use render to texture...
Read more >
CompositeViewer support - FlightGear wiki
Try to use algorithms that can use render to texture using FBO's and read this textures directly in other shaders. Never try to...
Read more >
Blend Modes in Unity - Elringus
Note we are passing the alpha value of the upper layer (b.a) to the ... Having all the blending algorithms implemented it may...
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