I’m pretty new to blender and have ran into a few issues in this scene but have been able to find solutions. This is completely stumping me though. I’m just using hdri world light and yet some of my objects are acting like the light doesn’t touch them at all, appearing completely black during the render. I have no clue what could be causing this, any ideas would be highly appreciated.
Hi and welcome to the Community,
I could make a number of ‘assumptions’ of why this would happen… but this could go on for a long time.
May we ask you to set-up a simple PG. Just your load your model without any further ‘fuss’ in a playground?
That could well be possible (among others).
I am really new to this and have no idea how to do that
Oh, my apologies . I took a shortcut
We are a small (yet powerful ) community and we like to take full advantage of the unique offerings of our favorite tool/toy
Among these advantages, is ‘The Playground’. The playground lets us share parts of code, models and other assets, to exchange and fix issues. The playground (along with ‘The Inspector’) is/are the ultimate tool to communicate in this forum, answer tech questions, debug and overall, solve issues.
To use the playground, all you have to do is open a new playground in your browser @ https://playground.babylonjs.com - Paste or type your code, save to snippet and share the generated link with us.
There are a few rules and limitations though. You can only load external assets from ‘reliable sources’. You will find these limitations, sources and instructions in the comprehensive doc.
I know the start might be a bit overwhelming (and fairly different from some other engines) but I hope you’ll quickly find your way around it and start benefit from our advantages. Else, we’re here to help; so do not hesitate to ask
And meanwhile, have a great day
sorry to be a pain but where do i go to find the code of my scene
No worries. If you’re asking, means you don’t have any code so far, is it? You probably just have your model in blender and simply draged it in the sandbox, right?
For the playground, you’re gonna need the code to import a model.
There are multiple ways to import a model in BJS (import, import async, append…)
The easiest and most straight forward is just to use import.
It’s the first playground featured in the link from the doc for importing external assets (the link I provided above).
Open this PG link:
Replace the link with the link of your model. If you are not using GitHub (but i.e. dropbox or else), refer to the instructions in the doc for loading external assets