Jump to content

Recommended Posts

Posted

Hi,

I am using LE3 with c++.

 

I programmatically made a spotlight which I want it to appear on all surfaces but it only appears to show on non-lightmapped surfaces.

 

I’ve messed with the material settings of the lightmapped surfaces, and the light itself but that didn’t seem to help.

 

Can someone help me out???

 

Thanks in advanced

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

Posted

I'm not sure if there is a way to calculate lighting on lightmapped surfaces from code but that sounds like what you'd need in your situation. Of course that would only work with a static light. If your spotlight moves I don't think there is anything you can do to have it move real-time and show correctly on a lightmapped shader surface.

Posted

Im basicly trying to make a flashlight for my player, is there another approach that might work? using decals or somthing?

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

Posted

yay more undocumented API commands...sleep.png

bool Life()
{
 while(death=false)
 {
   if(death==true)
   return death;
 }
}

 

I have found the secret to infinite life

 

Did I help you out? Like my post!

Posted

They're considered "extra". The simple answer is this is presently unsupported.

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

Posted

I did these in Blitz3D even though they weren't an official feature. It's definitely possible with the Surface commands.

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

Posted

Texture projection it is

 

Thanks everyone for your help

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

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...