Skip to content

Commit 898827e

Browse files
Fix effect table by removing hrs and asterisks
1 parent 7b76a86 commit 898827e

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

articles/content_pipeline/custom_effects.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,27 @@ To use a custom effect with MonoGame you must do one of the following:
4242
* Process your effect file with the [MGFXC tool](../tools/mgfxc.md) and load them yourself at runtime.
4343

4444
## Effect Writing Tips
45-
4645
These are some tips for writing or converting effects for use with MonoGame.
4746

4847
| The supported shader models when targeting DX are the following:|
4948
|---|
50-
| * `vs_4_0_level_9_1` and `ps_4_0_level_9_1`|
51-
| * `vs_4_0_level_9_3` and `ps_4_0_level_9_3`|
52-
| * `vs_4_0` and `ps_4_0` (requires `HiDef` `GraphicsProfile` at runtime)|
53-
| * `vs_4_1` and `ps_4_1` (requires `HiDef` `GraphicsProfile` at runtime)|
54-
| * `vs_5_0` and `ps_5_0` (requires `HiDef` `GraphicsProfile` at runtime)|
55-
---
49+
| `vs_4_0_level_9_1` and `ps_4_0_level_9_1`|
50+
| `vs_4_0_level_9_3` and `ps_4_0_level_9_3`|
51+
| `vs_4_0` and `ps_4_0` (requires `HiDef` `GraphicsProfile` at runtime)|
52+
| `vs_4_1` and `ps_4_1` (requires `HiDef` `GraphicsProfile` at runtime)|
53+
| `vs_5_0` and `ps_5_0` (requires `HiDef` `GraphicsProfile` at runtime)|
54+
5655
|When targeting GL platforms we automatically translate FX files to GLSL using a library called [MojoShader](http://icculus.org/mojoshader/). The supported feature levels are the following:|
5756
|---|
58-
| * `vs_2_0` and `ps_2_0`|
59-
| * `vs_3_0` and `ps_3_0`|
60-
---
57+
| `vs_2_0` and `ps_2_0`|
58+
| `vs_3_0` and `ps_3_0`|
59+
6160
|You can use preprocessor checks to add conditional code or compilation depending on defined symbols. MonoGame defines the following symbols when compiling effects:|
6261
|---|
63-
| * `2MGFX` |
64-
| * `HLSL` and `SM4` for DirectX |
65-
| * `OpenGL` and `GLSL` for OpenGL |
66-
---
62+
| `2MGFX` |
63+
| `HLSL` and `SM4` for DirectX |
64+
| `OpenGL` and `GLSL` for OpenGL |
65+
6766

6867
As an example, you can conditionally set shader models depending on the platform with the following code:
6968

0 commit comments

Comments
 (0)