≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
How Could I access the FPS to LOG in external file?
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: [quote][b][/b] wrote: For the color part, as fragment shader, use something like this: [code] ifdef GL_ES precision highp float; endif uniform sampler2D texture1; uniform sampler2D texture2; varying vec2 v_texCoord1; varying vec2 v_texCoord2; void main() { gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0); }[/code] Like in this tutorial: [url]http://www.ambiera.com/copperlicht/documentation/tutorials/tutorial-05.html[/url] For logging the fps: Maybe you could just constantly get the content of the DOM element with the FPS text and save it?[/quote] Thanks for the reply, yea at least I want to be able to access "FPS" dom element which is printing the FPS. How can I do that? Don't the copperlicht have in-built material function to code the colors? I mean is that mandatory to use the explicit shader program?[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact