Hello all…
I was doing a trial small game and liked to put shadow for each model in the game…but after I saw the tutorial called shadow, I get shocked because it is so hard to do using Cg or GLSL, and I didn’t understand anything from these scripts
-Is there an easy way to make shadows without the use of Cg or GLSL language?
-could I find a good site that explain this language in details?
DirectionalLights are a bit tricky to setup for shadowing. You have to adjust the frustum of the lens (film size, near/far, etc) in order to get it to cast shadows properly.
is how ive set it up, a cube of length 1000 in every axis.
i also had another bug (which ive yet to investigate) but if you still cant see shadows after that, try creating a spotlight, for whatever reason that made my directional light magically start casting shadows (my spotlight was coded exactly as the one in the manual).