이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
도움말
로그인
lolengine
/
lol
의 미러
https://github.com/lolengine/lol
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
0
위키
활동
소스 검색
easymesh: allow the shader to build on GL ES.
legacy
Sam Hocevar
sam
13 년 전
부모
44180ce402
커밋
a36e930a87
1개의 변경된 파일
과
11개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+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) {
쓰기
미리보기
불러오는 중...
취소
저장