dreamhead Posted December 13, 2009 Share Posted December 13, 2009 hi can i get on licht entities of leadwerks to put texture map on a licht ,like in the foto? Quote the real world is in my head CPU-Intel® Core2 Quad CPU Q6600 @ 2.40GHz CPU Speed 2.40 GHz RAM 3.5 GB OS Microsoft Windows XP Professional (Build Service Pack 32600) Video Card GeForce 8800 GT Video Card Features- *Video RAM 512.0 MB Video RAM 256 MB 512.0 MB Hardware T&L Yes Pixel Shader version 3.0 Vertex Shader version 3.0 using:leadwerks2.3,2 [ Link to comment Share on other sites More sharing options...
Flexman Posted December 13, 2009 Share Posted December 13, 2009 The flashlight in the demo used "PaintEntity()" on a spotlight to apply a texture in a similar manner. In the Leadwerks Editor, create a spotlight and assign the material to it. example from flashlight.mat texture0="abstract::flashlight.dds" blend=LIGHT depthmask=0 castshadows=0 lighting=0 shader="abstract::mesh_diffuse.vert","abstract::mesh_diffuse.frag" Quote 6600 2.4G / GTX 460 280.26 / 4GB Windows 7 Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT Tricubic Studios Ltd. ~ Combat Helo Link to comment Share on other sites More sharing options...
AggrorJorn Posted December 13, 2009 Share Posted December 13, 2009 I've made a projector spotlight for you. Place the map with the other lights and drag a projector-spotlight on screen. The only thing you need to do is replace the "projector-map.dds", with your own dds file if you want to. Be sure to give it the same name though. 27 december update: The new 2.3 sync changes the lua a bit. 3 replies lower is the new file. Quote Link to comment Share on other sites More sharing options...
macklebee Posted December 13, 2009 Share Posted December 13, 2009 I've made a projector spotlight for you. Place the map with the other lights and drag a projector-spotlight on screen. The only thing you need to do is replace the "projector-map.dds", with your own dds file if you want to. Be sure to give it the same name though. nice work aggror Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
afecelis Posted December 13, 2009 Share Posted December 13, 2009 sweet! thanks Aggror. Quote Win8.1 Pro X64/ Intel core I7 @ 3.5GHz / 32GB DDR3 SDRAM / GeForce GTX 660+760/ VC++ Express 2013/ Blender /Unwrap3dpro3 /Modo 8 Link to comment Share on other sites More sharing options...
AggrorJorn Posted December 27, 2009 Share Posted December 27, 2009 The projector LUA is updated now, because of the latest 2.3 sync. Quote Link to comment Share on other sites More sharing options...
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.