Some normals on my cube are wrong... need help fixing
@live627 wrote: I'm drawing several cubes. // Calculate the position of the vertices on the top face. Vector3 topLeftFront = Position + new Vector3(-1.0f, 1.0f, -1.0f) * Size; Vector3 topLeftBack =...
View Article3D ordering.
@MuntyScruntFundle wrote: Hi there. I'm messing about with some 3D stuff, just some simple movement mechanics with objectives and characters. I thought the point of the 3D was all the models would be...
View ArticleOpenAL device could not be initialized error
@BlueFoot wrote: when I create a brand new Monogame Cross Platform Desktop Project I get that error, I have read other posts and they didn't seem to help. I have tried uninstalling my audio drivers,...
View ArticleHelp The Minotaur coming to steam in January
@gamagogo wrote: Hello, My first game will be released on January 9th on steam on PC. It is a puzzle game made with monogame: main.png600x900 186 KB 1 player mode: 1 player.png1920x1080 112 KB 2...
View ArticleAndroid 8+ black screen issue
@EndiMilojkoski wrote: Since Android 8 (some even complain with 7) my game works but there is just black screen.I can go blindly through the menu and start the game, I can hear music and sounds but...
View ArticleFilling color with texture ; effect or SetData ?
@Rouli wrote: For this small project I'm doing on android, I need to replace every pixel in a texture in a specific color (255, 192, 62 in my case) to its equivalent in position in another texture. I...
View ArticleStrange memory behaviour
@Qbjik wrote: Hello!While working on content management, I noticed that my loaded from stream textures are making the game use a lot of memory. It made me quite surprised because I made dynamical...
View ArticleProgrammable Shader running in OpenGL environment
@vipper wrote: On Windows, a programmable shader that can build normally and work properly. There are a lot of errors when running this on OpenGL environments such as Mac, Linux, iOS, Android. I need...
View ArticleImage outline point list in sequence.
@willmotil wrote: So ever since the other day talking about 2d shadowing i been trying to get the actual depth buffer to work for doing a real time snap shot of a scene by placing it perpendicular to...
View ArticleEvent Queue
@mackhax0r wrote: Has anyone built a game engine (2d) around an event queue? It looks like an interesting method to design your game engine. I don't professionally develop but more or less play with...
View ArticleQuestion 3d viewport axis
@11110 wrote: how to render 3d axis in viewport coordinate? Posts: 1 Participants: 1 Read full topic
View ArticleSome suggested ease of use extensions for MonoGame.Extended
@jamie_yello wrote: github.com jamieyello/DownUnder/blob/master/DownUnder/Utilities/Extensions.cs using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonoGame.Extended; using...
View ArticleFailed to create importer 'TiledMapImporter'?
@JimBob wrote: I've spent my weekends trying to get my Tiled map to build with MGCB after stupidly upgrading my project without backing up. I'm now running into the Failed to create importer...
View ArticleResolution independence failure
@andylatham82 wrote: Hi! I'm building a game in which graphics are all rendered to a render target, and then that render target is drawn to the screen buffer. I've done this so that I can make my game...
View ArticleFontDescriptionProcessor error on new machine
@LEM wrote: I have been using 3 computers for development for a long time. One uses Windows 7 and the other ones Windows 10.I just added a fourth computer running Windows 10 and when I tried to...
View ArticleTriangleList incompletely drawn by DrawUserPrimitives
@Sterling_Blake wrote: I'm encountering a problem drawing a procedurally generated TriangleList. The symptom is that at certain camera angles some of the triangles which should be drawn are not (or...
View ArticleHlsl Atan2
@willmotil wrote: Does anyone know what the differences are if any between Hlsl atan2(x,y) and our c# Math.Atan2(x,y)Im getting some weird results in a shader. It seems like i get results in the...
View ArticleA tricky hlsl problem positional vrapping on the vertex shader.
@willmotil wrote: Ok i have been working on a 360 degree depth buffer for 2d lighting. So far conceptually it works but i have one big problem i can't think of how to tackle. atan2 is used to find the...
View ArticleMonogame on Ubuntu 18.04
@David_Vonk wrote: I've got Monogame set up on Ubuntu 18.04, and it's all installed and seems to be running perfectly.However, when I hit the Run button in Monodevelop, it skips the build with this...
View ArticleAlpha blending RenderTarget2D
@Fido496 wrote: Hello! I have problems alpha blending multiple RenderTarget2Ds. The following is the minimal reproductible example: `protected override void Draw(GameTime gameTime) {...
View Article