Post

Visualizzazione dei post con l'etichetta additive

Playing with materials

Immagine
In the last weekend I didn't have much time to dedicate to the project, so I decided to take a brake from coding and spent some time enhancing the visuals by playing around with materials. I decided to give the game a temporary background, so I googled for a starfield texture with some nice colours, and I cropped the image to have a 2048x2048 square texture. Then I modeled a square plane in Blender and I imported it in Unreal Engine, together with the star texture. By using the "front view" in the editor, I rotated the plane to be roughly perpendicular to the camera. The next step was creating a new Material, clicking on "Add new" and then choosing "Material". In the material editor I right-clicked and selected "Texture Sample". In its options I chose my star texture, then I connected the output pin of the texture box to the "Emissive color" pin of my material. Clicking on the material box, the left ...