Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Shader
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Programming == The language in which shaders are programmed depends on the target environment. The official OpenGL and [[OpenGL ES]] shading language is [[OpenGL Shading Language]], also known as GLSL, and the official Direct3D shading language is [[HLSL|High Level Shader Language]], also known as HLSL. [[Cg (programming language)|Cg]], a third-party shading language which outputs both OpenGL and Direct3D shaders, was developed by [[Nvidia]]; however since 2012 it has been deprecated. Apple released its own shading language called [[Shading language#Metal Shading Language|Metal Shading Language]] as part of the [[Metal (iOS API)|Metal framework]]. === GUI shader editors === Modern [[video game]] development platforms such as [[Unity (game engine)|Unity]], [[Unreal Engine]] and [[Godot (game engine)|Godot]] increasingly include [[node-based editor]]s that can create shaders without the need for actual code; the user is instead presented with a [[directed graph]] of connected nodes that allow users to direct various textures, maps, and mathematical functions into output values like the diffuse color, the specular color and intensity, roughness/metalness, height, normal, and so on. Automatic compilation then turns the graph into an actual, compiled shader.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)