GithubHelp home page GithubHelp logo

tophitter / veldrid-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mellinoe/veldrid-samples

0.0 1.0 0.0 6.38 MB

Sample projects for Veldrid

Home Page: https://mellinoe.github.io/veldrid-docs/

C# 93.86% GLSL 6.14%

veldrid-samples's Introduction

Veldrid Samples

This repository contains sample projects for Veldrid, a low-level graphics and compute library for .NET Many of the samples are intended to demonstrate how specific features in the library can be used.

Running the Samples

To build and run the samples, the .NET Core SDK is required. All of the sample projects can be run on .NET Core on any supported platform. Simply run:

dotnet run -p <project-file>

Some of the samples can also be run on iOS and Android. Veldrid.Samples.Mobile.sln is a solution file containing all of the mobile projects. Veldrid.Samples.sln contains only the desktop projects.

This is a simple introduction to Veldrid, which renders a simple 4-color quad in the center of the screen.

Check out the Tutorial Page for a step-by-step walkthrough of this project, with an explanation of each portion.

GettingStarted

This sample renders a textured 3D Cube, which rotates in the center of the screen.

Textured Cube

This sample renders a large number of instanced 3D meshes, orbiting around a central textured sphere.

Instancing

This sample renders planar reflection using a sampled offscreen Framebuffer.

Offscreen

This sample renders an animated mesh.

Animated Mesh

This sample simulates a large number of particles in a compute shader. Afterwards, it renders their positions using instanced points.

Compute Particles

This sample procedurally generates texture data in a compute shader every frame. Afterwards, it renders the texture data as a full-screen quad.

Compute Texture

veldrid-samples's People

Contributors

bdoss avatar mellinoe avatar sa-exe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.