This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
material tv/frame | |
{ | |
technique | |
{ | |
pass | |
{ | |
ambient 0.215686 0.215686 0.215686 | |
diffuse 0.215686 0.215686 0.215686 1 | |
specular 0.172549 0.172549 0.172549 70 | |
emissive 0 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- access to the scene objects | |
local scene = getCurrentScene() | |
-- define keyboard input | |
local inputManager = getInputManager() | |
local keyboard = Keyboard(inputManager:getDevice(TIINPUT_KEYBOARDDEVICE)) | |
-- dynamically create the texture objects for image sequence | |
local Textures = {} |