In the old version of the player, we could change background-blurriness parameter now, whatever number we put blurines is the same.
I there something changed?
In the old version of the player, we could change background-blurriness parameter now, whatever number we put blurines is the same.
I there something changed?
Hi Tomislav, thanks for your question. The API still exposes a backgroundâblurriness parameter on the Camera component (with values from 0 for no blur to 1 for maximum blur, as seen in the Camera.d.ts docs at Camera.d.ts.md). However, if youâre noticing that changing the value no longer affects the appearance, a couple of things might be happening:
âą If youâre using one of the preset background images (for example, using the âblurredâskyboxâ preset via the web component), the preset could be overriding any adjustments made through the parameter. The documentation for the attributes explains that the backgroundâblurriness attribute should be used with a custom background image rather than a preset that already includes a baked blur effect (docs/needle-engine-attributes.html).
âą Itâs also possible that a regression or a change in the rendering logic in the latest version is causing the value not to be applied correctly. If youâve recently updated from an older version where the value worked as expected, there might be an unintended change in behavior.
I suggest double-checking that youâre either setting a custom background image that supports dynamic blurriness or, if youâre using a preset, try switching to a custom image setup to see if changes in the numerical value are then reflected. If you still encounter the issue, please consider creating a minimal reproducible example (for instance on Stackblitz via Needle-engine - Vite Template - StackBlitz) or filing a bug report using the âNeedle Engine/Report a bugâ option so the team can take a closer look.
I hope this helps! Let me know if you have further questions.
4 replies left
thread_fCs7V14Zok1wBMi63ULdqvC7
Reply to this post directly if you need further help (bottom right button)
Hello Tomislav,
This didnt change.
Could you share a bit more about your scene?
Which skybox shader are you using?
Do you use the Background Blur setting on the Camera Component (Additional Camera Data).
Did you set any attributes on the needle-engine web component (if there is a `background-blurryiness attribute it will âwinâ and override blurriness settings in the scene set by the camera).
Or are you refering to background-bluriness set via code, if so Iâd need an example of your code.
It seems that we set blur in the shader, so background-blurriness couldnât be set smaller than in the shader. I think this was the problem.
This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.