Jump to content

Recommended Posts

Posted

Hi,

I'm having difficulties with lights in the latest version. To illustrate:

 

post-79-12751318118697_thumb.jpg

Leadwerks 2.31

 

post-79-12751318211007_thumb.jpg

Leadwerks 2.32

 

The scene contains 1 ambient light and 1 point light.

What's happening in LE 2.32 is that the normal map of the character is being multiplied to the floor and walls.

 

This is on a GeForce 9600M GT with latest drivers.

 

Does anyone else experience these problems?

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Posted

You're not alone. I'm having anomalies occur with lights also. Shadows missing and flickering lights on objects. What do you do, go back to 2.31 ;)

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Guest Red Ocktober
Posted

i'm noticing the flickering shadows and lights on objects... otherwise no other apparent issues...

 

 

--Mike

Posted

yeah I've been sticking with 2.31 as well though I have every release candidate also installed =D

Core I5 2.67 / 16GB RAM / GTX 670

Zbrush/ Blender / Photoshop CS6 / Renoise / Genetica / Leadwerks 3

Posted

I've narrowed it down a bit:

This only happens when there's a character in the scene with the mesh_skin_bumpmap shader.

 

Here's the model I used (free model from psionic3D for testing purposes), could someone please try this in their own scene with light?

zombie character.zip

 

Thanks!

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Posted

example1.jpgexample2.jpg

 

Here are three assets including the crawler character and a simple textured cube and the above zombie. Run in the Editor they have shadows but outside the Editor Run in the Lua Engine, there are no shadows.

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Posted

weird... i cannot reproduce that at all... i get shadows from the crawler/zombie in the editor and from a standalone lua game...

 

and i do not see anything wrong with the zombie either... perhaps it isn't an issue with the zombie but rather the room that you have him... what is the material file for the room cocopino?

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

It suddenly struck me, I havn't updated my drivers for a while so I went to Nvidia and did so. But the same problem persists.

Because I am using a large terrain. (2048x2048) I thought it may be too much for the GPU and so was leaving stuff out. But the same problem occurs when I halve the size to 1024x1024 and place the same simple objects into the scene. :D

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Posted

and i do not see anything wrong with the zombie either... perhaps it isn't an issue with the zombie but rather the room that you have him... what is the material file for the room cocopino?

You're right, silly of me: the floors+walls had missing DOT3 files. Looks like the engine then just copies a normal map from memory (still a bit weird). Thanks, I can now continue my "Leadwerks Editor becomes death of FPSCreator" project.

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Posted

So this is not a problem?

Well, it's weird that the engine is copying another normal map when the one mentioned in the material file doesn't exist. It should probably just not use a normal map at all in this case (like it seemed to do in 2.31). On the other hand, the material file was indeed incorrect, it shouldn't point to a non existing file which was my fault.

So, not really a problem of the highest priority.

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Posted

It's just the way the graphics card works. It is using whatever texture is left in that slot.

My job is to make tools you love, with the features you want, and performance you can't live without.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...