NextPreviousHomecan we use shaders effect for reading system values?

SamSaam | 11 years ago | 1 comment | 2,315 views

For example I want to read system clock and make a 3d real analog clock, I must able to read hour:minute:second and change the properties of 3 png pictures for rotating and place in the 3d space
Or I want to read a list of video files in a directory and play one by one in a video layer in loop mode

Share this on FacebookShare this on Twitter

You can use the shader variable LocalTime to create an analog clock:

float4 LocalTime The local time (hours, minutes, seconds, milliseconds)

More information about creating your own shaders can be found at the bottom of the FX page of the user guide:

michiel, 11 years ago

Comment to this article

You must be logged in before you can comment to this article. Login | Register

More by SamSaam