I'm new to blender and was working on updating some code for a project from 2.79 and 2.8. But it appears that the LAMBERT shading and COOKTORR shading isn't supported anymore because Blender doesn't use the internal rendering engine anymore. I was wondering if there's any way to replicate the effect this has in 2.8 using Eevee? I used to get a white background and the renders had some sort of depth to them but it seems flatter and the background is grey for some reason.
def makeMaterial(name, diffuse, specular, alpha):
mat = bpy.data.materials.new(name)
mat.diffuse_color = diffuse
mat.diffuse_shader = 'LAMBERT'
mat.diffuse_intensity = 1.0
mat.specular_color = specular
mat.specular_shader = 'COOKTORR'
mat.specular_intensity = 0.2
mat.alpha = alpha
mat.ambient = 1
mat.use_transparency = True
mat.use_shadows = False
return mat
I wanted to use nodal shading and eevee but I didn't know how to do this.

