Skip to content
#

webgl2

Here are 478 public repositories matching this topic...

HypnosNova
HypnosNova commented Jun 30, 2022

image
比方说这样的材质代码,基本上都是雷同的处理操作给shader传值或者拿到值。那么我想到的一种代码优化是类似这样:

class XXXMaterial extends Material {
   @bindToShader('u_emissive_texture', Texture2D) // 对应shader代码里面是哪个变量
   public emissiveTexture: Texture2D;

   @bindToShader('u_time', Float32) 
   public time: number;
}
good first issue

Run, compile and execute JavaScript for Scientific Computing and Data Visualization TOTALLY TOTALLY TOTALLY in your BROWSER! An open source scientific computing environment for JavaScript TOTALLY in your browser, matrix operations with GPU acceleration, TeX support, data visualization and symbolic computation.

  • Updated Jul 25, 2022
  • TypeScript
raphamorim
raphamorim commented Jun 30, 2022

"Getting started" and "Learning the Basics" are outdated and contain wrong information. We don't have any boilerplate yet. Would be good to update those sections with valid information. Open to ideas :)

Skärmavbild 2022-06-30 kl  15 59 30

![Skärmavbild 2022-06-30 kl 15 59 51](https://

good first issue
Utopiah
Utopiah commented Jun 6, 2021

Hi, great component.

Unfortunately trying the demo I get WEBGL_UNSUPPORTED whereas https://webglreport.com/?v=1 or v=2 gives me

Linux x86_64 Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
WebGL GLSL ES 3.00
GeForce RTX 2080 Ti/PCIe/SSE2

and https://get.webgl.org gives me a rotating cube.

ray-tracing-renderer
ToJans
ToJans commented Apr 20, 2020

Context

This engine is intended to be used as a drop-in replacement to Three.js’s WebGLRenderer.

Problem

It tends not to work as a drop-in replacement out-of-the-box, because the renderer crashes when:

  • Meshes contain a THREE.Geometry instead of a THREE.BufferGeometry.
  • It uses materials for which the texture images are not loaded yet.

This might cause people who try to repl

uivonim
timoxley
timoxley commented Jan 9, 2022

Mouse just doesn't seem to do anything.
No clicks, no scrolling. Built from master at c85671e on M1Max, built with latest brew install neovim --HEAD.
Is there some special config I should be adding/removing, or some hints on what I should look at?

enhancement good first issue frontend
molstar

Improve this page

Add a description, image, and links to the webgl2 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the webgl2 topic, visit your repo's landing page and select "manage topics."

Learn more