|
|
(18 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
− | = 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 [http://tech-artists.org/wiki/Portal:Shaders Portal:Shaders] on the Tech Artists Wiki.
| |
− |
| |
− | == Example Shaders ==
| |
− | <span id="Popular_A3ds_Max_Shaders"></span>
| |
− | === 3ds Max Shaders ===
| |
− | (in alphabetical order)
| |
− |
| |
− | * '''[http://www.laurenscorijn.com/viewportshader 3ds Max viewport shader]''' by [http://www.laurenscorijn.com/ Laurens "Xoliul" Corijn].<<BR>> More info in the Polycount thread ''[http://boards.polycount.net/showthread.php?t=62006 Xoliul's 3DS Max Viewport Shader]''.
| |
− | * '''[http://www.3pointstudios.com/3pointshader_about.shtml 3Point Shader]''' by [http://www.3pointstudios.com 3 Point Studios]<<BR>> Shader with many options, including near-perfect results for 3ds Max generated normal maps. See the Polycount thread [http://boards.polycount.net/showthread.php?t=72861 3Point Shader Lite - Shader material editor and Quality Mode normalmaps for 3ds Max].
| |
− | * '''[http://rtshaders.deviantart.com/art/Agusturinn-Shader-Demo-100883093 Agusturinn Shader Demo]''' by [http://rtshaders.deviantart.com Wang "RTshaders" Jing].<<BR>> Shader features: ''"One UV texture, Two point lights, Diffuse map(include alpha which control transparency), AO(ambient occlusion) map or Lightmap share the same channel, Normal map,Specular map,Specular level map,Gloss map,Emissive map, Two type of Cubemap---One is diffuse cubemap for generating IBL(image based lighting), the other is enviroment cubemap for reflection."''
| |
− | * '''[http://www.bencloward.com/resources_shaders.shtml Ben Cloward Shaders]''' by [http://www.bencloward.com Ben Cloward].<<BR>> He has a bunch of HLSL shaders available for normal mapping, ambient occlusion, car paint, skin, etc.
| |
− | * '''[http://www.luxinia.de/index.php/ArtTools/3dsmaxFX#genbrdf BRDF shader]''' (3ds Max version) ported by [http://crazybutcher.cottages.polycount.com/ Christoph "CrazyButcher" Kubisch]. <<BR>> Original [http://www.mentalwarp.com/~brice/brdf.php BRDF shader for Maya] by [http://www.mentalwarp.com/~brice Brice Vandemoortele] and [http://www.kjapi.com/ Cedric Caillaud]. More info in the Polycount thread ''[http://boards.polycount.net/showthread.php?t=49920 Free Maya/max cgfx/fx Shader]''. '''Update:''' [http://boards.polycount.net/showthread.php?p=821862#post821862 New version here] with many updates, including object-space normal maps, relief mapping, self-shadowing, etc.
| |
− | * '''[http://www.aurelm.com/envo/ ENVO realtime environment shader]''' by [http://www.aurelm.com/ Aurel Manea]<<BR>> From the Polycount thread [http://www.polycount.com/forum/showthread.php?t=100187 ENVO realtime environment shader for 3d studio max].
| |
− | * '''[http://www.polycount.com/forum/showpost.php?p=1610563&postcount=2 MoP Texture Blender]''' by [http://www.greveson.co.uk Paul "MoP" Greveson]<<BR>> This shader uses blendmodulate for vertex blending with per-pixel detail. From the Polycount thread [http://boards.polycount.net/showthread.php?p=1024948#post1024948 The Snow and Ice of Uncharted2?].
| |
− | * '''[http://rtshaders.deviantart.com/art/Paragalis-Shader-Demo-110994545 Paragalis Shader Demo]''' by [http://rtshaders.deviantart.com Wang "RTshaders" Jing].<<BR>> Shader features: ''"Post effect, 3dsmax2008/2009 viewport shadowmap, Subsurface scattering, Cubemap Image based lighting, Diffuse(alpha channel control opacity),Normal map,Ao map/Light map,Specular,Specular lever(mask),Gloss etc., Shadermodel 2.x compatible for AMD ATI card."''
| |
− | * '''[http://www.jistyles.com/main.php?id=doc&page=hlsl SSS Skin Shader]''' by [http://www.jistyles.com/ J.I. Styles].<<BR>> ''"The aim of this shader is to emulate all the perceptual qualities of realistic skin like translucency (sss), fresnal specular, gloss, oiliness, etc - kludging what I can to produce fast yet realistic looking results."''
| |
− | * '''[http://blog.maginot.eu/index.php?seite=people&people=till&page=mhn2048106717 TF2 Shader for 3ds Max]''' and '''[http://blog.maginot.eu/index.php?p=till.1__scriptnstuff_shader_toon Toon/Comic Shader for 3ds Max]''' by [http://www.till.maginot.eu/ Till "Rollin" Maginot].<<BR>> More info in the Polycount thread ''[http://boards.polycount.net/showthread.php?t=64453 TF2 and TOON realtime viewport shader (3ds max)]''.
| |
− |
| |
− | <span id="Popular_Maya_Shaders"></span>
| |
− | === Maya Shaders ===
| |
− | (in alphabetical order)
| |
− |
| |
− | * '''[http://www.mentalwarp.com/~brice/brdf.php BRDF shader for Maya]''' by [http://www.mentalwarp.com/~brice Brice Vandemoortele] and [http://www.kjapi.com/ Cedric Caillaud]<<BR>> More info in the Polycount thread ''[http://boards.polycount.net/showthread.php?t=49920 Free Maya/max cgfx/fx Shader]''. '''Update:''' [http://boards.polycount.net/showthread.php?p=821862#post821862 New version here] with many updates, including object-space normal maps, relief mapping, self-shadowing, 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.
| |
− |
| |
− | === UDK Shaders ===
| |
− | * '''[http://www.polycount.com/forum/showthread.php?t=103068 WL-Shader]''' by [http://unreal.rgr.jp/ "TA20"]<<BR>> UDK shaders for cloth, skin, water, glass, foliage, bricks, etc.
| |
− |
| |
− | == Creating Shaders ==
| |
− |
| |
− | === Beginner ===
| |
− | * [https://www.cg-academy.net/es_catalog/product_info.php?products_id=64&osCsid=5jn41nk4i5uii38d3t0sg4tn53c430a3 CG Academy HLSL Shader Creation series] by [http://www.bencloward.com/ Ben Cloward] ($) is an excellent 3-part series on making HLSL shaders for 3ds Max (can easily be transferred to Maya too).
| |
− | * [http://eat3d.com/blog/eat-3d/new-dvd-release-shader-production-writing-custom-shaders-cgfx Eat3D's "Shader Production - Writing Custom Shaders with CGFX"] by [http://www.linkedin.com/pub/luiz-kruel/3/127/463 Luiz Kruel] ($) is anotehr excellent video tutorial that guides you through writing your own shaders, primarily with the CGFX shader language in Maya. DVD release was September 14, 2011.
| |
− | * [http://bencloward.com/resources_shaders.shtml Shaders by Ben Cloward] These shaders are a bit outdated and there are more up-to-date shaders to learn from, but Ben's shaders are what got many artists started on the path and are still a solid learning resource.
| |
− | * [http://www.robg3d.com/?page_id=13 Shaders by Rob Galanakis (right side of page)] Some well-commented shaders that cover a variety of intermediate to advanced topics.
| |
− | {| border="1" cellpadding="2" cellspacing="0"
| |
− | |<class="red">| [[Shaders for Artists]]
| |
− | |-
| |
− | |<class="red">| [[Blending functions]]
| |
− | |-
| |
− | |<class="red">| [[NormalVector]], [[BinormalVector]], and [[TangentVector]]
| |
− | |-
| |
− | |<class="red">| [[Glossary (Shaders)]]
| |
− | |-
| |
− | |<class="red">| [[UnitVector]]
| |
− | |}
| |
− | * [[NormalMap]], the Wiki page on normal mapping, provides a comprehensive overview on the subject.
| |
− | * [http://bencloward.com/resources_tutorials.shtml 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 ===
| |
− | * [http://www.moddb.com/games/unreal-tournament-3/tutorials/tf2-shading-in-ut3 TF2 Shading in UT3] by [http://polyphobia.de Steffen "Neox" "polyphobia" Unger]<<BR>> 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.
| |
− | * [http://www.ericchadwick.com/examples/provost/byf1.html 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.
| |
− | {| border="1" cellpadding="2" cellspacing="0"
| |
− | |<class="red">| [[Shading models]]
| |
− | |-
| |
− | |<class="red">| [[DDS]] and [[Normal map compression]]
| |
− | |}
| |
− |
| |
− | === Advanced ===
| |
− | {| border="1" cellpadding="2" cellspacing="0"
| |
− | |<class="red">| [[Vertex skinning]]:
| |
− | |-
| |
− | |<class="red">| [[[MaxScript|DirectX Scripted Material Plugin]]]:
| |
− | |}
| |
− |
| |
− | == Tools ==
| |
− | To create and edit shaders, most people use a text editor (like [http://notepad-plus.sourceforge.net 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.
| |
− |
| |
− | * [http://www.polycount.com/forum/showthread.php?t=104692 Material editors vs. Custom shader code] Polycount forum thread
| |
− | * [http://www.lumonix.net/shaderfx.html Shader FX] by [http://www.lumonix.net Lumonix]<<BR>> 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.
| |
− | * [http://www.shaderfusionblog.com/?cat=6 ShaderFusion] by [http://www.keenleveldesign.com/ Kurt 'commander_keen' Loeffler]<<BR>> An excellent node-based shader editor for [http://unity3d.com/ Unity].
| |
− | * [http://www.mentalimages.com/products/mental-mill/standard-edition.html 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 [http://www.mentalimages.com/products/mental-mill/artist-edition.html Artist Edition] is free for personal use, and comes bundled with 3ds Max 2010.
| |
− | * [http://developer.nvidia.com/object/fx_composer_home.html NVIDIA's FX Composer] is a shader authoring toolset.
| |
− | * [http://developer.amd.com/gpu/rendermonkey/ AMD's RenderMonkey] is a shader authoring toolset.
| |
− |
| |
− | [[Category:Texturing]] [[Category:Portfolio]] [[Category:Technology]]
| |