hi,
is it possible to make the shadows brighter without using more lights?
thx
hi,
is it possible to make the shadows brighter without using more lights?
thx
Can you please elaborate a bit more?
What kind of shadows do you mean? Are you talking about the shadow sample? Or the ShadowDemo.py? Or about something else?
i am using simple point lights.
this:
##################
plight = PointLight(‘plight’)
plight.setColor(VBase4(0.4, 0.4, 0.4, 1))
plnp = node1.attachNewNode(plight)
plnp.setPos(0, -10, 0)
node1.setLight(plnp)
#################
but the shadows on my model are too dark , how can i make them brighter or can i change the shadow color?
You will have to add an AmbientLight, with a color like 0.2, 0.2, 0.2, 1.0. An ambientlight is global for the scene (it does not have a position or orientation) and it is meant to light up the dark areas of your models.
i tried that but after doing that my model is too bright , and the shadows r always too dark ?
ill try again.
edit: i tried ambient color 0.7,0.7,0.7
and point light 0.2…
and yess it works better now
thx for help