Naughty Alien Posted April 21, 2010 Posted April 21, 2010 ..hi guys..im wondering, whats causing Point light to have such artifacts over geometry surface..i havent use anything special, just simple CreatePointLight(), with some given range..it looks like some sort of 'cube' with sides extruded out.. Quote
GIMPY73 Posted April 21, 2010 Posted April 21, 2010 I also get that Naughty Alien. Not sure what it is tho. Thanks Gimpt73 Quote http://www.fallingpixel.com/mac10-3d-model/26203 (MAC-10) http://www.fallingpixel.com/glock17-3d-model/26471 (Glock-17) http://www.youtube.com/user/MRGIMPY73
Naughty Alien Posted April 21, 2010 Author Posted April 21, 2010 ..ahh..its really ruining look of my caves and underground levels..its giving visuals like some sort of cubic map is applied on to surface..sort of..sigh.. Quote
Josh Posted April 21, 2010 Posted April 21, 2010 I can't tell what is going on in that image. Please post an example that produces this. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Naughty Alien Posted April 22, 2010 Author Posted April 22, 2010 ..josh example is superbasic and supersimple one...basic use of light, even shadows disabled..i have used it over scene.gmf provided with old heathaze tutorial, just to make sure that im not delusional..here it is code.. SuperStrict Framework leadwerks.framewerk RegisterAbstractPath(AppDir) Graphics(800, 600) Local fw:TFramewerk fw = TFramewerk.Create() If Not fw RuntimeError "Failed to initialize engine." Include "FreeLook.bmx" 'load a scene LoadMesh("abstract::scene.gmf") 'Create light Local light:TLight = CreatePointLight(5) PositionEntity(light, Vec3(0, .25, 0)) EntityColor(light, Vec4(1, 0.5, 0, 0.1)) EntityShadowMode(light, 0)'disabling/enabling shadows doesnt change a thing Repeat FreeLook(fw.Main.camera, .1) fw.Update() fw.Render() Flip(0) Until KeyHit(KEY_ESCAPE) End and its still looking same as before..it seems like creating some sort of rectangle with size of given light range and from each corner of that rectangle, sides are extruded..sort of...weird.. here is result on given scene used from tutorials also, just side note, doesnt matter is it used with framewerk or not, it does produce same result.. Quote
Josh Posted April 22, 2010 Posted April 22, 2010 I have never seen this occur. It looks as though you may have shaders mixed up from different versions? Quote My job is to make tools you love, with the features you want, and performance you can't live without.
GIMPY73 Posted April 22, 2010 Posted April 22, 2010 Thanks Josh. It was an older version of the shader.pak that was the problem Thanks Gimpy73 Quote http://www.fallingpixel.com/mac10-3d-model/26203 (MAC-10) http://www.fallingpixel.com/glock17-3d-model/26471 (Glock-17) http://www.youtube.com/user/MRGIMPY73
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.