0
$\begingroup$

I have a simple code that creates a sphere.

bpy.ops.mesh.primitive_ico_sphere_add(location=(0.0, 0.0, 0.0))

and I would like to add an image of the Sun and 'wrapped' around the sphere made. Is this possible?

$\endgroup$
0
$\begingroup$

Yeah, Unwrap the uv sphere(it's already done but just in case), add the texture of the sun in the image editor(just drag it in), plug colour to an emission shader, mix it with the bsdf as well, increase value at what ever size you like, turn on bloom if you are on eevee.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.