Post

 Resources 

Console


D3D shadows ... Bren (0 replies, 0 views) (2000-Oct-8)
-
Ok, first problem, how the hell do I make shadows with D3DRM?? Can get something but if that's a shadow then hell who knows what I am =p The point is it's totally not what I want. I use: ' make a spot light Set light = d3drm.CreateLightRGB(D3DRMLIGHT_POINT, 0.9, 0.8, 0.7) 'ra.AddLight light Set shadow = d3drm.CreateShadow(mesh, light, 0, -3, -10, 0, 1, 0) shadow.SetOptions D3DRMSHADOW_TRUEALPHA obj.AddVisual shadow (The camera is at 5,5,5) A second thing is, I have a 2D map in lets say a surface called Background, and another surface that contains a 3D model, now how the hell can I put light effects on the total? => the stuff that is on the backbuffer?


-
Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 150 visitors within the last 20 minutes
RSS News Feed