3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2

Author Topic: Effeciant shadowing?  (Read 1823 times)

« on: May 02, 2012, 07:39:14 AM »
Shadowing is something that i find really important though i feel like i am going to have to leave all shadows out of my game. I really want to try and get shadows in my game if i can as i really want to get the best look from my game. Has anyone got any sugestions or techniques for generating the most effeciant shadow maps?

Cheers


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.
« Reply #1 on: May 02, 2012, 07:56:23 AM »
Use Gile[s ] for static scenery: http://www.3drad.com/forum/index.php?topic=8955.0

Use the 3D Rad shadow system for dynamic objects: http://www.3drad.com/importing.php#11
Make sure to make the shadow low-poly?
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #2 on: May 02, 2012, 08:12:02 AM »
I might try out some very basic shadowing tonight on my cars. I am thinking of remodeling my level aswell tonight as the one i have could most likely be a lot more optimized. For instance i used rails around the track though an armco barriar would be more efficient. Then i can actually think of adding some detail to the track. Any shadow on the cars will be better then none. Even if i just have it under the car.

Cheers


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.
« Reply #3 on: May 03, 2012, 02:12:56 PM »
I'm trying to et this to work, Though everytime i set the shadowmap to user lightmap and Shadow-map it just goes black.


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.
« Reply #4 on: May 03, 2012, 02:46:53 PM »
...though everytime i set the shadowmap to user lightmap and Shadow-map it just goes black.

It's supposed to. You'll need to SkinMeshes, one normal and one shadow-map.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #5 on: May 03, 2012, 02:52:42 PM »
Yeah i have the two skinmeshs it's just the shadowmap layer makes everything go black when set as 0032_user_lightmap when its set to default it is fine it seemed like you had the same problem in the tutorial thread.


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.
« Reply #6 on: May 04, 2012, 02:26:25 AM »
Okay, then take a look at this tutorial: http://www.3drad.com/forum/index.php?topic=7211.0

Make sure both meshes are in the same spot with the same scale. It should just work.

Oh, and according to Psiko's tutorial, you don't need to select a custom shader. Just shadow-map.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #7 on: May 04, 2012, 06:36:05 AM »
That's the tutorial I was following. I'll have to try some more in a bit. Just don't understand why the user lightmap doesn't work. Also I'll take a look for psikot's tutorial. Cheers


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.

GTGwalkthroughs

« Reply #8 on: May 04, 2012, 06:47:55 AM »
copy the lightmap image and rename it as userTextureA.dds. Make sure you keep both images.
« Reply #9 on: May 04, 2012, 07:14:39 AM »
Yeah I have done that... though I did notice that at first I had just renamed the image. Then once I realised I re imported it with radimp. Still it didn't work


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.
« Reply #10 on: May 04, 2012, 08:02:26 AM »
Here's a screen shot... i'm stumped.


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.
« Reply #11 on: May 04, 2012, 08:04:10 AM »
Here's my folder for the shadow map...


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.

GTGwalkthroughs

« Reply #12 on: May 04, 2012, 08:11:40 AM »
You need two skinmeshes
« Reply #13 on: May 04, 2012, 08:18:16 AM »
I have lol, thats the shadow mapped skinmesh. Then i have the ordinary skinmesh.


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.
« Reply #14 on: May 04, 2012, 11:36:06 AM »
I tried again from scratch but this time used .jpg for the shadow map image. Seemed to have worked. Just need to adjust it a bit. Thanks for the help


Gamefreaks1234 gaming forum a great place for general gaming chat and getting your games out there and played.
Pages: [1] 2