In this case, i want to keep hdri background to make object reflection. And i want to render a animation.
So, how can i set white background in cycles?
Composite this image onto a blank white image in the Node Editor, but switch to Compositor Mode rather than Material Edit mode. Example below:
You will see I have checked the second of the three icons after the word “Node” Here you can add images or even videos together to make a composite. This first thing you have done correctly is to render with a Transparent background, now you just have to use two Image nodes in the compositor then plug these into a Colour Mix then plug that into the Composite Output. Then render this bit. Generally what I do is to use a blank project to composite things together, it saves all the meshes getting in the way! If you don’t have a Render Layers node in there, it will not add the render layer to the final composite. Alternatively you can render the mesh as you have done, then add a white background in Compositor and let Blender do it all in one go.
Tip:
Choose the Compositor screen layout option like this:
And Blender gives you a nice window layout to do compositing in.
Cheers, Clock.