I’m following a Monogame shader tutorial in order to add effects to my existing project. The tutorial has the effects written in HLSL (DirectX) whereas my projects seem to be OpenGL - the properties of the MonoGame.Framework reference is MonoGame for Windows Desktop (OpenGL).
I created a plain WPF app, then added MonoGame from NuGet, using v3.2.3-alpha. I’m not sure how NuGet decided to install the OpenGL version.
Is there a way to make NuGet install the DirectX packages so I can keep following this tutorial?
The DirectX version isn’t currently included in the NuGet package. If you want to use it, you’ll have to use the installer, from the Downloads section of the MonoGame website (make sure you get the nightly build, if you want an up-to-date version).
However, there’s an ongoing discussion about the NuGet packages. One of the possible outcomes is that there might be a DirectX-specific NuGet package for MonoGame. There’s actually a poll for it here: http://twtsurvey.com/MonoGameNuGetSurvey
Great stuff, but if you saw the results, the survey is a bit mute now
And as you saw from the Git issue thread, the packages are already done and ready. Help test if you can on as many platforms as you can.