lopata
February 11, 2014, 7:47am
1
Hello,
i try use shadows with shader generator but nothing happening and i have no idea why. I did it exactly how is written in manual.
shader generator is on
using diffuse and normal mapping
binormals and tangents in model are calculated
changing of material does not helping (manually or in export from blender)
separating model to more objects not helping
result: youtube.com/watch?v=5H2b1vDP9AA
code: pastebin.com/G2JpZjh5
I am out of ideas. I just want sharp shadows
rdb
February 11, 2014, 8:40am
2
PointLights can not cast shadows. Only DirectionalLight and Spotlight can, and of those two it’s better to use Spotlight because it’s slightly easier to setup and less likely to produce certain types of artifacts.
lopata
February 11, 2014, 7:37pm
3
Nope, not working even for Directional or Spotlight
rdb
February 11, 2014, 8:16pm
4
Can you give us a runnable example, perhaps zip up the file with the assets that it uses?
lopata
February 12, 2014, 2:08pm
5
We discuss i on IRC channel but there is whole repository:
hg.jan-smrz.cz/starboard-game/downloads
Hey lopata! Did you solve thi issue? i’m having the same problem.