このサイトはJavaScriptを使用しています
ホーム
ヘルプ
サインイン
lolengine
/
lol
ミラー元
https://github.com/lolengine/lol
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
0
Wiki
アクティビティ
ソースを参照
easymesh: allow the shader to build on GL ES.
legacy
Sam Hocevar
sam
13年前
親
44180ce402
コミット
a36e930a87
1個のファイルの変更
、
11行の追加
、
1行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+11
-1
src/easymesh/shiny.lolfx
+ 11
- 1
src/easymesh/shiny.lolfx
ファイルの表示
@@ -1,6 +1,10 @@
-- GLSL.Vert --
#if defined GL_ES
#version 100
#else
#version 120
#endif
attribute vec3 in_Vertex;
attribute vec3 in_Normal;
@@ -49,9 +53,15 @@ void main(void)
}
-- GLSL.Frag --
#if defined GL_ES
#version 100
#else
#version 120
#endif
//precision highp float;
#if defined GL_ES
precision highp float;
#endif
varying vec4 pass_Color;
void main(void) {
書き込み
プレビュー
読み込み中…
キャンセル
保存