Diff
checker
텍스트
텍스트
이미지
문서
Excel
폴더
Legal
Enterprise
데스크톱
요금제
로그인
데스크톱 앱 다운로드
텍스트 비교
두 텍스트 파일의 차이점을 찾아보세요
도구
기록
실시간 편집
변경 없는 행 숨기기
줄바꿈 비활성화
레이아웃
나란히 보기
합쳐 보기
비교 단위
스마트
단어
글자
구문 강조
언어 선택
제외
텍스트 변환
첫 변경으로
수정
Diffchecker Desktop
가장 안전하게 Diffchecker를 사용하는 방법. 데스크톱 앱을 사용하면 비교 데이터가 외부로 전송되지 않습니다!
데스크톱 앱 받기
Untitled diff
생성일
9년 전
비교 결과 만료 없음
초기화
내보내기
공유
두 텍스트가 동일합니다
두 텍스트 간 차이점이 없습니다
0 삭제
행
총
삭제
글자
총
삭제
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
80 행
복사
0 추가
행
총
추가
글자
총
추가
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
80 행
복사
#version 100
#version 100
precision highp float;
precision highp float;
precision highp int;
precision highp int;
void FFP_Add(in vec3 vIn0, in vec3 vIn1, out vec3 vOut)
void FFP_Add(in vec3 vIn0, in vec3 vIn1, out vec3 vOut)
{
{
vOut = vIn0 + vIn1;
vOut = vIn0 + vIn1;
}
}
void FFP_Assign(in vec4 vIn, out vec4 vOut)
void FFP_Assign(in vec4 vIn, out vec4 vOut)
{
{
vOut = vIn;
vOut = vIn;
}
}
void FFP_Construct(in float r, in float g, in float b, in float a, out vec4 vOut)
void FFP_Construct(in float r, in float g, in float b, in float a, out vec4 vOut)
{
{
vOut = vec4(r,g,b,a);
vOut = vec4(r,g,b,a);
}
}
void FFP_Modulate(in vec4 vIn0, in vec4 vIn1, out vec4 vOut)
void FFP_Modulate(in vec4 vIn0, in vec4 vIn1, out vec4 vOut)
{
{
vOut = vIn0 * vIn1;
vOut = vIn0 * vIn1;
}
}
void FFP_SampleTexture(in sampler2D s, in vec2 f, out vec4 t)
void FFP_SampleTexture(in sampler2D s, in vec2 f, out vec4 t)
{
{
t = texture2D(s, f);
t = texture2D(s, f);
}
}
uniform sampler2D gTextureSampler0;
uniform sampler2D gTextureSampler0;
varying vec4 oColor_0;
varying vec4 oColor_0;
varying vec2 oTexcoord2_0;
varying vec2 oTexcoord2_0;
void main() {
void main() {
vec4 outputColor;
vec4 outputColor;
vec4 lLocalParam_0;
vec4 lLocalParam_0;
vec4 texel_0;
vec4 texel_0;
vec4 source1;
vec4 source1;
vec4 source2;
vec4 source2;
FFP_Construct(0.0, 0.0, 0.0, 0.0, lLocalParam_0);
FFP_Construct(0.0, 0.0, 0.0, 0.0, lLocalParam_0);
FFP_Assign(oColor_0, outputColor);
FFP_Assign(oColor_0, outputColor);
FFP_SampleTexture(gTextureSampler0, oTexcoord2_0, texel_0);
FFP_SampleTexture(gTextureSampler0, oTexcoord2_0, texel_0);
FFP_Assign(texel_0, source1);
FFP_Assign(texel_0, source1);
FFP_Assign(oColor_0, source2);
FFP_Assign(oColor_0, source2);
FFP_Modulate(source1, source2, outputColor);
FFP_Modulate(source1, source2, outputColor);
FFP_Add(outputColor.xyz, lLocalParam_0.xyz, outputColor.xyz);
FFP_Add(outputColor.xyz, lLocalParam_0.xyz, outputColor.xyz);
gl_FragColor = outputColor;
gl_FragColor = outputColor;
}
}
저장된 비교 결과
원본
파일 열기
#version 100 precision highp float; precision highp int; void FFP_Add(in vec3 vIn0, in vec3 vIn1, out vec3 vOut) { vOut = vIn0 + vIn1; } void FFP_Assign(in vec4 vIn, out vec4 vOut) { vOut = vIn; } void FFP_Construct(in float r, in float g, in float b, in float a, out vec4 vOut) { vOut = vec4(r,g,b,a); } void FFP_Modulate(in vec4 vIn0, in vec4 vIn1, out vec4 vOut) { vOut = vIn0 * vIn1; } void FFP_SampleTexture(in sampler2D s, in vec2 f, out vec4 t) { t = texture2D(s, f); } uniform sampler2D gTextureSampler0; varying vec4 oColor_0; varying vec2 oTexcoord2_0; void main() { vec4 outputColor; vec4 lLocalParam_0; vec4 texel_0; vec4 source1; vec4 source2; FFP_Construct(0.0, 0.0, 0.0, 0.0, lLocalParam_0); FFP_Assign(oColor_0, outputColor); FFP_SampleTexture(gTextureSampler0, oTexcoord2_0, texel_0); FFP_Assign(texel_0, source1); FFP_Assign(oColor_0, source2); FFP_Modulate(source1, source2, outputColor); FFP_Add(outputColor.xyz, lLocalParam_0.xyz, outputColor.xyz); gl_FragColor = outputColor; }
수정본
파일 열기
#version 100 precision highp float; precision highp int; void FFP_Add(in vec3 vIn0, in vec3 vIn1, out vec3 vOut) { vOut = vIn0 + vIn1; } void FFP_Assign(in vec4 vIn, out vec4 vOut) { vOut = vIn; } void FFP_Construct(in float r, in float g, in float b, in float a, out vec4 vOut) { vOut = vec4(r,g,b,a); } void FFP_Modulate(in vec4 vIn0, in vec4 vIn1, out vec4 vOut) { vOut = vIn0 * vIn1; } void FFP_SampleTexture(in sampler2D s, in vec2 f, out vec4 t) { t = texture2D(s, f); } uniform sampler2D gTextureSampler0; varying vec4 oColor_0; varying vec2 oTexcoord2_0; void main() { vec4 outputColor; vec4 lLocalParam_0; vec4 texel_0; vec4 source1; vec4 source2; FFP_Construct(0.0, 0.0, 0.0, 0.0, lLocalParam_0); FFP_Assign(oColor_0, outputColor); FFP_SampleTexture(gTextureSampler0, oTexcoord2_0, texel_0); FFP_Assign(texel_0, source1); FFP_Assign(oColor_0, source2); FFP_Modulate(source1, source2, outputColor); FFP_Add(outputColor.xyz, lLocalParam_0.xyz, outputColor.xyz); gl_FragColor = outputColor; }
비교하기