.FRAG 파일 확장자

Fragment Shader File

개발사 OpenGL
인기도
3.5  |  19 투표
 

FRAG 파일이란 무엇인가요?

A FRAG file contains fragment shader properties in the GL Shading Language (GLSL). It stores a graphics function used to shade a fragment, which represents a pixel in a 3D graphic, with RGB (with Alpha) color, shadows, and other effects data. FRAG files may also be saved as .FSH files.

추가 정보

GLSL is a high-level shading language with syntax similar to the C programming language. It is utilized by Open Graphics Library (OpenGL), an application programming interface (API) that renders 2D and 3D graphics featured in applications across different platforms. Various applications utilize OpenGL for rendering graphics, including Minecraft, Adobe After Effects, Blender, and Avogadro.

What are shaders?

Shaders give depth to 3D graphics through the alteration of their appearance, which includes defining the levels of color, light, darkness, hue, saturation, and contrast of the graphic. For example, adjusting the angle of light on a surface and the proximity of the light are two examples of how shading can modify the appearance of a graphic.

The shaders run on a computer's graphics processing unit (GPU), which reduces the workload of the computer's central processing unit (CPU). By relieving the CPU of the task of rendering graphics, the CPU can focus its resources on executing application code.

There are two prominent types of GLSL shaders:

  • Vertex - Manipulates a vertex, which is the point of a triangle 3D model mesh where two lines meet; determines the coordinates of a vertex and on a large scale, the placement of graphics on the screen; called once per vertex
  • Fragment - Also known as a texture shader; shades a fragment, which is a pixel in a rasterized triangle that makes up a 3D image; used to process color, shadows, and other effects

FRAG 파일을 여는 방법

You can open FRAG files with the tools included with OpenGL SDK (multiplatform). You can also open and edit FRAG files with source code editors, such as Microsoft Visual Studio Code (multiplatform), and plain text editors, such as Microsoft Notepad (bundled with Windows), Apple TextEdit (bundled with macOS), or gedit (Linux).

참고: Plain text editors do not provide helpful editing capabilities like syntax highlighting with source code editors.

File Viewer Plus(으)로 400개 이상의 파일 형식을 여세요.무료 다운로드

FRAG 파일을 여는 프로그램

카테고리: 개발자
업데이트: 2021-09-23

검증자 FileInfo.com

FileInfo.com 팀 이 페이지에 나열된 Fragment Shader 파일 형식과 Mac, Windows, and Linux 앱을 독자적으로 조사했습니다. 저희의 목표는 100% 정확성이며, 검증한 파일 유형에 대한 정보만 게시합니다.

이 페이지에 추가하거나 업데이트할 내용을 제안하고 싶으시면 알려 주세요.