Fivem: D3d10

-- Draw radar texture to screen DrawSprite(radarRT.texture, self.position.x, self.position.y, self.size, self.size, 0, 255, 255, 255, 255) end

if (pDevice) { // Draw custom primitives, shaders, etc. pDevice->Release(); } d3d10 fivem

-- Draw minimap background DrawRect(self.position.x + self.size/2, self.position.y + self.size/2, self.size, self.size, 0, 0, 0, 200) -- Draw radar texture to screen DrawSprite(radarRT

ResetRenderTarget()

// Simple gaussian blur sampling for (int x = -2; x <= 2; x++) { for (int y = -2; y <= 2; y++) { float2 offset = float2(x, y) * bloomRadius / 1920.0; bloom += SceneTexture.Sample(LinearSampler, texCoord + offset); } } bloom /= 25.0; self.position.y + self.size/2

See The Final Issue

d3d10 fivem

Twa Corbies (photo: Elly Lucas) on the cover of fRoots 425. Crow Jane (the big one!) created by Alex Merry and Steve Rowley.

Read a digital edition

d3d10 fivem

Our compilation albums

d3d10 fivem