texture page

  1. B

    v_vTexcoord returning coordinates of the whole Texture Page instead of the single image_index

    I'm only new to shaders in GM:S and I've come across a big problem but could be easily fixed for all I know but I haven't found anything online about it. I'm trying to put a gradient on the current sprite and image_index of the player using the v_vTexcoord to indicate how far I am through the...
  2. W

    Is there a way to use the application surface as a surface

    I don't know if I'm phrasing this right I only just started looking at stuff about surfaces today. But is there a way to make it so I can capture the application surface of the game and assign it to a variable so I can freeze it and have it fade away into the next room using an alpha decrease.
  3. Nathan Laing

    Legacy GM [SOLVED] Texture pages, sprite size and cropping

    Hello all, Regarding texture pages, and the cropping of sprite images, the GM documentation provides the following: However, I am still not 100% sure what this equates to. For the sake of example only, if I add 500 png image files each with a total width and height of say, 256x256 pixels but...
  4. Filuto

    Legacy GM External Sprite and Texture pages

    Hello everyone. I'm trying to load sprites externaly but i've run into a problem. When I load my .PNG sprite sheet and then trying to use it, each object which uses that sprite creates it's own texture page for some reason. I will describe the process. Creation code which runs the first when...
  5. Nembo

    Surface/Texture view in debugger

    My project has a memory issue where ever time I quit a level and return to the main menu, something from the room is getting left in memory. My guess was surfaces where the culprit, but looking at the debugger is leaving me confused. Could anybody explain to me the difference between surfaces...
  6. Nathan Laing

    Giant assets, texture page size limit - best approach?

    G'day all! Working with an 'asset' that is multiple times the size of the 2048x2048 texture page size limit. Currently, this asset has been broken down into squares each exactly equal to this limit, and is then later 'stitched' together in code. As you might imagine, with various other objects...
Top