change readme and some values
parent
5b12720f77
commit
f1a2fe9776
|
@ -28,8 +28,8 @@ namespace PreShaderTest
|
||||||
|
|
||||||
vertexBuffer.SetData(new VertexPositionNormalTexture[] {
|
vertexBuffer.SetData(new VertexPositionNormalTexture[] {
|
||||||
new VertexPositionNormalTexture(
|
new VertexPositionNormalTexture(
|
||||||
new Vector3(0, 1, 1),
|
new Vector3(0, 0, 0),
|
||||||
new Vector3(0, 1, 1),
|
new Vector3(0, 1, 0),
|
||||||
new Vector2(0, 1)
|
new Vector2(0, 1)
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
@ -60,7 +60,7 @@ namespace PreShaderTest
|
||||||
GraphicsDevice.Clear(Color.CornflowerBlue);
|
GraphicsDevice.Clear(Color.CornflowerBlue);
|
||||||
|
|
||||||
pbrEffect.Techniques[0].Passes[0].Apply();
|
pbrEffect.Techniques[0].Passes[0].Apply();
|
||||||
|
|
||||||
GraphicsDevice.SetVertexBuffer(vertexBuffer);
|
GraphicsDevice.SetVertexBuffer(vertexBuffer);
|
||||||
GraphicsDevice.DrawPrimitives(PrimitiveType.PointListEXT, 0, 1);
|
GraphicsDevice.DrawPrimitives(PrimitiveType.PointListEXT, 0, 1);
|
||||||
|
|
||||||
|
|
39
README.md
39
README.md
|
@ -1,38 +1 @@
|
||||||
# FNA-VSCode-Template
|
# PreShaderTest
|
||||||
|
|
||||||
Template and build tasks for developing a cross-platform multi-target .NET Framework and .NET Core FNA project in VSCode.
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- Includes project boilerplate code
|
|
||||||
- Build tasks for both .NET Framework and .NET Core side by side
|
|
||||||
- Press F5 to build and debug in-editor with Core Debugger
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
- [Git](https://git-scm.com/)
|
|
||||||
- [Git for Windows](https://gitforwindows.org/) if on Windows
|
|
||||||
- [Visual Studio Code](https://code.visualstudio.com/)
|
|
||||||
- [VSCode C# Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp)
|
|
||||||
- [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core)
|
|
||||||
- [.NET Framework SDK](https://dotnet.microsoft.com/download/visual-studio-sdks) or [Mono](https://www.mono-project.com/)
|
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
- Make sure you have Git Bash from Git for Windows if you are on Windows
|
|
||||||
- Download this repository
|
|
||||||
- Run `install.sh`
|
|
||||||
- Move the newly created project directory wherever you want
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
- Open the project directory in VSCode
|
|
||||||
- Press Ctrl-Shift-B to open the build tasks menu
|
|
||||||
- `Framework` tasks use .NET Framework or Mono to build and run
|
|
||||||
- `Core` tasks use .NET Core to build and run
|
|
||||||
- Press F5 to build and debug with Core Debugger
|
|
||||||
|
|
||||||
## Acknowledgments
|
|
||||||
|
|
||||||
Thanks to Andrew Russell and Caleb Cornett's FNA templates for a starting point for this template.
|
|
Loading…
Reference in New Issue