Help with your scripting

Materials and textures

Materials and textures

Postby epsilonion » 20 Sep 2017, 21:38

I had a thought about a tv screen.

The screen of the TV displays a selection of images every 3 seconds, is there a way in LUA to change the textures within a material and or sub material?

To be able to change the textures and or settings for the textures would be great by code... :)

Oh another thought..

Say in game your scene is a prison and you have a security room filled with monitors, is it possible (Yet) to have cameras to project to a material (RTT), so you can see the prisoners going about there daily business like walking down corridors?

I would absolutely love the Camera to material RTT feature.. :)
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Materials and textures

Postby SolarPortal » 20 Sep 2017, 22:45

Say in game your scene is a prison and you have a security room filled with monitors, is it possible (Yet) to have cameras to project to a material (RTT), so you can see the prisoners going about there daily business like walking down corridors?

ooh, we are really close to this, we have had a camera render to RTT and be displayed in the GUI Editor, we just havent wrapped any of it into an editor yet lol :P

Also the material commands will be getting added soon to control materials and textures through lua :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 7 guests

cron