12 years, 2 months ago
Highlights
Community contributions featured12 years, 2 months ago
12 years, 2 months ago
In theory, let's say I have a vertex shader which knows: The dimensions of a 2D texture/tilesheet (in pixels) The dimensions of each tile within that texture (in pixels) The num…
12 years, 2 months ago
Overview Okay so first, a little background about my project... I have an MSVC solution containing two separate projects: Tile Editor ("OnionEditor") Tile Engine ("OnionE…
12 years, 3 months ago
The engine I am using creates render targets like so: D3DXCreateTexture(pD3DDevice, width, height, 1, D3DUSAGE_RENDERTARGET, D3DFMT_X8R8G8B8, D3DPOOL_DEFAULT, &pRT) I…
13 years, 5 months ago
Latest Activity
See all in DiscussionsUsing the following code (and with help from Kaptein), I could've sworn I had this whole thing solved... Guess not. …
12 years, 2 months ago
You have no use for how many tiles there are in total. You need the number of tiles in a …
12 years, 2 months ago
Here's a more visual example of what I am trying to accomplish... Let's say I have the following texture: …
12 years, 2 months ago