Difference between revisions of "CD7FE87A"

From SimsWiki
Jump to: navigation, search
m (Material Shader Listing)
 
(8 intermediate revisions by one user not shown)
Line 20: Line 20:
  
 
== Material Shader Listing ==
 
== Material Shader Listing ==
Since it's necessary for readers to read the talk/discussion board before any usage, the following linkage is l;inking to the talk/discussion pages directly.  After reading the notices at the talk/discussion pages, one is ready to use the MatShad pages.
+
Since it's necessary for readers to read the talk/discussion board before any usage, the following linkage is linking to the talk/discussion pages directly.  After reading the notices at the talk/discussion pages, one is ready to use the MatShad pages.
  
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderCelshading ShaderCelshading]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderCelshading ShaderCelshading]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderConfig ShaderConfig]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderDX7simmaterials ShaderDX7simmaterials]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderDX8simmaterials ShaderDX8simmaterials]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderDX9simmaterials ShaderDX9simmaterials]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderFloor ShaderFloor]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderFloor ShaderFloor]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderFloorPS ShaderFloorPS]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderFloorPS ShaderFloorPS]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderImposters ShaderImposters]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderLotskirt ShaderLotskirt]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderMirror ShaderMirror]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderMirror ShaderMirror]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderNeighborhood ShaderNeighborhood]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderNeighborhood ShaderNeighborhood]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderNeighborhoodroads ShaderNeighborhoodroads]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderPool ShaderPool]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderRoof ShaderRoof]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderRoof ShaderRoof]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderShadow ShaderShadow]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderShadow ShaderShadow]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderSims ShaderSims]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderSWVSsimmaterials ShaderSWVSsimmaterials]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderTerrain ShaderTerrain]
 +
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderVertexAlpha ShaderVertexAlpha]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderVertexAlpha ShaderVertexAlpha]
 +
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderWall ShaderWall]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderWallPS ShaderWallPS]
 
* [http://www.sims2wiki.info/wiki.php?title=Talk:ShaderWallPS ShaderWallPS]
  
  
[[Category:Modding]]
+
[[Category:Sims 2 Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]

Latest revision as of 15:18, 17 September 2012

This article is imported from the old MTS2 wiki. You can help Sims2Wiki by cleaning it up. It's original page with comments can be found at http://old_wiki.modthesims2.com/MATSHAD

[edit] Material Shaders (matShad; CD7FE87A)

This is not really a spec per se. But more of an idea of their purpose.

Generally speaking, they're just low level commands to the video card and assignments which the TXMT files can call on.

There're a few kinds of material shaders. These shaders can be VS(Vertex Shader), PS(Pixel Shader), just a simple material definition (just like a txmt file), TOC (Table of Contents Tree), and others. For instance, "pixelshaderwalls_PS2WallRendering" actually has definitions about the graphical structure(s) of the "wall" we see in-game. "wall_Shaders for Sims 2 walls" actually has defintions about different sorts of "walls" such as the poolwall surface, wallmask, etc...

TXMT files have lists of properties and type. Those properties and types inherit function(s) from the definitions in Material Shader.

For a particular material type, whether a material type of a txmt file can over-ride the preset values in matShad depends on whether the corresponding definition(s) in matShad has a sign "$" in front of the corresponding parameter(s). That sign is to direct the game engine to take the local value(s) from a particular txmt file.

The scripts were custom-designed by maxis and are often mostly assembly code.

[edit] Material Shader Listing

Since it's necessary for readers to read the talk/discussion board before any usage, the following linkage is linking to the talk/discussion pages directly. After reading the notices at the talk/discussion pages, one is ready to use the MatShad pages.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox