Difference between revisions of "Category:Shaders"

From polycount
Jump to: navigation, search
(what red means)
(Vertex Color BlendMasked CgFX Maya Shader)
Line 4: Line 4:
 
== What is a Shader? ==
 
== What is a Shader? ==
 
A shader is a bit of computer code that is commonly used to describe how a surface will be rendered. It takes some inputs (textures, vertices, view angles, etc.), does some changes to them, then tells the game renderer to render them. For more info see [http://tech-artists.org/wiki/Portal:Shaders Portal:Shaders] on the Tech Artists Wiki.
 
A shader is a bit of computer code that is commonly used to describe how a surface will be rendered. It takes some inputs (textures, vertices, view angles, etc.), does some changes to them, then tells the game renderer to render them. For more info see [http://tech-artists.org/wiki/Portal:Shaders Portal:Shaders] on the Tech Artists Wiki.
 +
 +
<!-- ## * '''[[|]]''' by [[|]].<<BR>>  More info in the Polycount thread ''[[|]]''. -->
  
 
== Example Shaders ==
 
== Example Shaders ==
Line 28: Line 30:
 
* '''[http://www.kostas.se/?p=17 KoddeShader]''' by [http://www.kostas.se Kostas "Kodde" Gialitakis]<<BR>> Has several features such as normal mapping, specular, gloss, reflections, ambient cube, parallax, etc. More info in the Polycount thread ''[http://boards.polycount.net/showthread.php?t=69161 "KoddeShader", a Maya CGFX shader]''. '''Update:''' [http://www.polycount.com/forum/showthread.php?t=77961 New version here] including updates such as blended normals for skin, cube map mip level parameters for blurring reflections and ambient light, 2-pass transparency support, etc.
 
* '''[http://www.kostas.se/?p=17 KoddeShader]''' by [http://www.kostas.se Kostas "Kodde" Gialitakis]<<BR>> Has several features such as normal mapping, specular, gloss, reflections, ambient cube, parallax, etc. More info in the Polycount thread ''[http://boards.polycount.net/showthread.php?t=69161 "KoddeShader", a Maya CGFX shader]''. '''Update:''' [http://www.polycount.com/forum/showthread.php?t=77961 New version here] including updates such as blended normals for skin, cube map mip level parameters for blurring reflections and ambient light, 2-pass transparency support, etc.
 
* '''[http://blog.leocov.com/search/label/hlsl lcNextGenShader]''' by [http://www.leocov.com/ Leonardo "chronic" Covarrubias]<<BR>> Has many techniques and parameters, including normal mapping, specular, ambient env cube, SSS, etc.
 
* '''[http://blog.leocov.com/search/label/hlsl lcNextGenShader]''' by [http://www.leocov.com/ Leonardo "chronic" Covarrubias]<<BR>> Has many techniques and parameters, including normal mapping, specular, ambient env cube, SSS, etc.
 +
* '''[https://dl.dropbox.com/u/53969153/Shaders/Cryengine3_VertexBlend_Maya1Light.zip Vertex Color BlendMasked CgFX Maya Shader]''' by [http://klass87.blogspot.fr/ Amir "choco" Abdaoui] and [http://cruxic.com/ Drew "Drew++" Watts].<<BR>>  More info in the Polycount thread ''[http://www.polycount.com/forum/showthread.php?t=105291 Vertex color BlendMasked cgfx maya shader]''.
  
 
=== UDK Shaders ===
 
=== UDK Shaders ===

Revision as of 09:31, 14 September 2012

Category Shaders

What is a Shader?

A shader is a bit of computer code that is commonly used to describe how a surface will be rendered. It takes some inputs (textures, vertices, view angles, etc.), does some changes to them, then tells the game renderer to render them. For more info see Portal:Shaders on the Tech Artists Wiki.


Example Shaders

3ds Max Shaders

(in alphabetical order)

Maya Shaders

(in alphabetical order)

UDK Shaders

  • WL-Shader by "TA20"<
    > UDK shaders for cloth, skin, water, glass, foliage, bricks, etc.

Creating Shaders

Beginner

Red means it needs to be ported
Shaders for Artists
Blending functions
NormalVector, BinormalVector, and TangentVector
Glossary (Shaders)
UnitVector
  • NormalMap, the Wiki page on normal mapping, provides a comprehensive overview on the subject.
  • Ben Cloward's Normal Mapping Tutorial: One of the best sources for people getting into shaders and who want a better understanding of what a normal map is. Covers the basics of lighting, how normal maps work, and the process of creating and applying normal maps.

Intermediate

  • TF2 Shading in UT3 by Steffen "Neox" "polyphobia" Unger<
    > Shows how the Team Fortress 2 look can be emulated using a shader network in Unreal Engine 3.
  • Parallax mapping types: An article briefly covering the different techniques for parallax mapping (offset, parallax occlusion, relief, etc.), with links to the papers detailing them and other related resources.
  • Beautiful, yet Friendly: Article by Guillaume Provost, which explains the behind-the-scenes technical aspect of shaders. A must-read when one starts to think about efficiency, math, and hardware.
Red means it needs to be ported
Shading models
DDS and Normal map compression

Advanced

Red means it needs to be ported
Vertex skinning:
[[[MaxScript|DirectX Scripted Material Plugin]]]:

Tools

To create and edit shaders, most people use a text editor (like Notepad ++) to write them and a 3d program (a game engine, 3ds Max, Maya, etc.) to view them. For those who are new to shaders the following tools provide a graphical user interface for easier creation.

  • Material editors vs. Custom shader code Polycount forum thread
  • Shader FX by Lumonix<
    > This is a full-featured real-time shader editor for 3ds Max. It allows artists with no previous programming experience to build complex HLSL or CG FX shaders, using a graphical schematic interface to wire nodes together. Shader FX is very useful for the beginner artist to get his head around the concepts of creating shaders, with its great node-based interface, and it is useful for the more advanced shader writer to understand how certain nodes work. Kees and Ben are leaders in shaders and analyzing their raw and exported HLSL code will help authors understand many cutting edge techniques, such as sub-surface scattering, fur, and glow. Free for individuals and companies smaller than 2 employees.
  • ShaderFusion by Kurt 'commander_keen' Loeffler<
    > An excellent node-based shader editor for Unity.
  • mental mill Standard Edition is a standalone tool that "allows the user to write and edit shader code, and visually debug the shader by interactively inspecting variables while stepping through the code. As well, the user can export shaders for use in DCC and CAD applications through the supported, customizable back-end formats such as CgFX, HLSL, and GLSL." The more limited Artist Edition is free for personal use, and comes bundled with 3ds Max 2010.
  • NVIDIA's FX Composer is a shader authoring toolset.
  • AMD's RenderMonkey is a shader authoring toolset.

Pages in category "Shaders"

The following 6 pages are in this category, out of 6 total.

Personal tools
Namespaces

Variants
Actions
Navigation
Tools