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.

examples => webgl_points_nodes.html BUG

See original GitHub issue

Describe the bug

I want to create two sets of particles in the scene, with two maps with different frames (one 6x6, the other 8x8).But the spriteSheetCount setting for the second material added to the scene is invalid.

It seems that only the first spriteSheetCount is recognized in the scene.

To Reproduce

Steps to reproduce the behavior:

  1. Create two Points using different PointsNodeMaterial(different textures for different frames)
  2. See error

Code

 const spriteSheetCount1 = new Nodes.ConstNode(new THREE.Vector2(6, 6));

 /**Not work */
 const spriteSheetCount2 = new Nodes.ConstNode(new THREE.Vector2(8, 8));

Expected behavior

Scenarios can support multiple sets of particles, using several different frames of map

Screenshots

firetorch_1 fire3 image

Platform:

  • Device: [Desktop, Mobile]
  • OS: [Windows, MacOS, Linux, Android, iOS]
  • Browser: [Chrome, Firefox, Safari, Edge]
  • Three.js version: [dev, r140]

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
sunagcommented, May 20, 2022

Can you take a look at this, or am I using it incorrectly? thanks

@shihaoning thanks for reporting and sorry the late, fixed here https://github.com/mrdoob/three.js/pull/24096

0reactions
shihaoningcommented, May 21, 2022

@shihaoning thanks for reporting and sorry the late, fixed here #24096

cool! image

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML static code analysis | Bug: Table cells should reference ...
This rule raises an issue when the headers attribute of a <td> cell contains IDs which don't belong to a header in the...
Read more >
Debugging HTML - Learn web development | MDN
A simple HTML document with a title of HTML debugging examples, and some information about; This immediately doesn't look great; let's look at ......
Read more >
example-chrome-bug.html · GitHub
Instantly share code, notes, and snippets. @rhalff · rhalff/example-chrome-bug.html.
Read more >
HTML Examples - W3Schools
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP,...
Read more >
Easiest Website Bug - HTML Injection Full Tutorial - YouTube
Helou, this is just a beginning part of the new Bug Bounty Course that just got published. If you wish to check out...
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