This is a conversion table for uniform values on these websites / environments.
This file contains hidden or 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
| --[[ | |
| Ported 17th September 2013 by Simon Brooke | |
| Original code: https://github.com/Yonaba/Jumper | |
| *** Copyright notice below must not be removed *** | |
| Porting notes: | |
| - All modules have been scrunched into the one file under | |
| a Jumper namespace, see example at end |
This file contains hidden or 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
| -- StarfFields by Bri_G based on HTML by Seb Lee-Delisle | |
| -- Rotating field around a central star matrtix | |
| --[[ if require ~= nil then | |
| require("loveCodea") | |
| end --]] | |
| function setup() | |
| -- | |
| fov = 250 |
This file contains hidden or 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
| # To use this script, you must first change a few things. | |
| # First, you'll want to change the filepath for the sound file. | |
| # This is on line 76. Second, you might want to change the materials or the settings. | |
| # To render this, you'll need to set the background color, enable Only Render on the display window, and render it with OpenGL (it's much faster and most optimal for 2D renders.) | |
| # LICENSE = wtfpl | |
| # VERSION = 0.3 | |
| import bpy | |
| def makeMaterial(name, diffuse, alpha): |
This file contains hidden or 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
| // Final for now... | |
| // iPhone 3Gs: 5.9ms | |
| #ifdef VERTEX | |
| attribute vec4 a_position; | |
| attribute vec2 a_uv; | |
| attribute vec3 a_normal; | |
| attribute vec4 a_tangent; | |
| uniform mat4 u_mvp; |