\r\n\u003C/template>\r\n`\r\n What have I missed or mistaken? Hope to get your help.\r\n",[],"BatchedMesh dosn't work with the primitive component","2024-08-12T00:16:46Z","https://github.com/Tresjs/lab/issues/150",0.6862709,{"description":3106,"labels":3107,"number":3108,"owner":3019,"repository":3085,"state":3094,"title":3109,"updated_at":3110,"url":3111,"score":3112},"### Description\n\nAs a developer using Tresjs I would like to have a simple way to add sparkles as a component\n\n### Suggested solution\n\nSimilar to: https://github.com/pmndrs/drei#sparkles\n\n### Alternative\n\nAny other alternative is considered\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.",[],221,"Sparkles","2023-11-09T19:27:14Z","https://github.com/Tresjs/cientos/issues/221",0.68984014,{"description":3114,"labels":3115,"number":3116,"owner":3019,"repository":3085,"state":3094,"title":3117,"updated_at":3118,"url":3119,"score":3120},"### Description\n\nA new fancy material similar to https://playground.tresjs.org/experiments/glass-material.\r\n\r\nExtending from physical material, with some capabilities\n\n### Suggested solution\n\nAn abstraction of https://playground.tresjs.org/experiments/glass-material\r\nbased on: https://tympanus.net/codrops/2021/10/27/creating-the-effect-of-transparent-glass-and-plastic-in-three-js/\n\n### Alternative\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.",[],159,"Glass material","2023-08-24T05:01:58Z","https://github.com/Tresjs/cientos/issues/159",0.69669336,{"description":3122,"labels":3123,"number":3134,"owner":3019,"repository":3036,"state":3094,"title":3135,"updated_at":3136,"url":3137,"score":3138},"### Describe the bug\r\n\r\nThis code logs `state.controls` null even if there is a Control in the scene (for example OrbitControls)\r\n\r\n```\r\nconst { onBeforeRender, pause, resume } = useLoop()\r\n\r\nconst updateCallback = (state) => {\r\n if (!sphereRef.value) { return }\r\n console.log(state.controls)\r\n sphereRef.value.position.y += Math.sin(state.elapsed) * 0.01\r\n}\r\n```\r\n\r\nThe problem is here https://github.com/Tresjs/tres/blob/0720d186e92ca9faa9e5f4e51a3269504bed2a09/src/composables/useLoop/index.ts#L18C4-L27C5\r\n\r\nWe are creating an snapshot of the time the `useLoop` is used, which doesn't contain the updated controls. \r\n\r\n\r\n\r\n### Reproduction\r\n\r\nlocal playground\r\n\r\n### Steps to reproduce\r\n\r\n_No response_\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 14.3.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 69.00 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm\r\n pnpm: 8.15.4 - ~/Library/pnpm/pnpm\r\n bun: 1.0.2 - ~/.bun/bin/bun\r\n Browsers:\r\n Brave Browser: 120.1.61.116\r\n Chrome: 124.0.6367.208\r\n Safari: 17.3.1\r\n npmPackages:\r\n @tresjs/cientos: 3.8.0 => 3.8.0 \r\n @tresjs/core: workspace:^ => 4.0.0-rc.1 \r\n @tresjs/leches: 0.15.0-next.3 => 0.15.0-next.3\r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\npnpm\r\n\r\n### Code of Conduct\r\n\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://tresjs.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.\r\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[3124,3125,3128,3131],{"name":3081,"color":3082},{"name":3126,"color":3127},"v4","7980EA",{"name":3129,"color":3130},"p4-important-bug","D93F0B",{"name":3132,"color":3133},"regression","167F7A",686,"`useLoop` callback state missing controls","2024-05-23T12:17:31Z","https://github.com/Tresjs/tres/issues/686",0.71296686,["Reactive",3140],{},["Set"],["ShallowReactive",3143],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fesRaiDGvkSMUYj0gWrk-tYQNh1-kzEoBiiyX4KZCaFM":-1},"/Tresjs/post-processing/125"]