Interference22

u/Interference22


r/godot•

Lately I've been doing some work on finding the optimal method for importing textures into Godot for use in 3D with the best possible mix of file size and image quality. Here's a handy guide to what types of compression Godot uses under the hood on desktop, what they're best at, and how to get the most out of them. This advice does not apply when exporting to Android or iOS.

VRAM Compressed Textures

The main compression mode used when working in 3D is VRAM compressed: this allows the renderer to load and use your images in a compact format that doesn't use a lot of graphics memory. Whenever an imported texture is used in 3D, it will be set to this by default.

VRAM compression is avail

5618

r/Affinity•

In Designer 2.0 I'm finding that any gradient applied to a stroke isn't displaying correctly. I'm just getting the top-most colour of the gradient and nothing else, as if I'd set the fill type to solid. I'm on Windows 10 with a GTX 1080.

EDIT: I've narrowed down where they specifically don't work: text. Add a stroke gradient to a shape and it works as expected. Add one to text and it just displays as if it were solid.

13

As I just recently did this myself, I thought I'd post a quick rundown on how to get Neverwinter Nights 2 up and running on the Steam Deck. For this guide I'm using the GOG version; if you're using the original retail release or some other option then your mileage may vary.

The Short Version

Here's a very concise summary of what needs to be done. You may find this useful if you're already familiar with getting Windows games to run under Proton:

  1. Install the game using the Heroic Games Launcher
  2. Install ProtonGE via the ProtonUp-Qt application
  3. Install ProtonTricks and use it to install the d3dx9 package for NWN2

Installing NWN2

  1. Fire up your Deck and switch to desktop m
2312

r/godot•

I spent about an hour last night putting this together as I've used it a lot in Unreal Engine and Blender but realised Godot didn't really do it out of the box.

Link to the shader.

Please not you don't have to use the shader as-is. I've set it up specifically for the workflow I use, hence why there's code for dividing up a masks texture's channels up for metal, rough, etc. If all you want is the dither effect and plan on dropping it into your own shader, just copy and paste everything from "// Fancy dithered alpha stuff" to "discard" into your fragment function.

You can also change this line:

if (opacity < limit || opacity < alpha_clip)

to just

223

r/blender•

Just had a fiddle around with the current, bleeding edge version of 2.80 and they've changed how the colour space settings work for images. That little drop-down you click on an image to change it over from "Color" to "Non-Color Data" has now been switched to a lengthy list of colour spaces -- sRGB, Linear, Non-colour, etc -- and these settings are now specific to the image itself, rather than the texture node they're attached to. They've done this to apparently simplify maintaining colour consistency between Cycles and Eevee but it seems leagues more complex now and the implementation is bit... iffy, to say the least. Here are the issues I've encountered, and I encourage you to avoid the

15