Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Laser/Glow Effect in CopperCube

dynamogames
Registered User
Quote
2023-01-23 11:09:10

I'm trying to make a laser that projects from a gun when the player shoots, I used a cylinder object with a red color texture added to it, but I'm trying to figure out how to make it have that glow/shiny effect of a laser, I went to Irrlicht Properties, but I don't know what settings to tweak to make the object have that glow feature. I'll love if anyone can help me on this.


VP
Guest
Quote
2023-01-23 11:49:32

A few ways you could do it -

1- you could add a second cylinder (larger than the first) and add a transparent red texture to it - child it to the red cylinder.

2- you could use a png of a LASER (see example here...https://veganpete.itch.io/skynet)

3- you could child a red light to the bullet, so as it flies through the scene, it lights up the buildings, enemies etc as it passes.

4- set a red vertex colour for the bullet material, instead of a texture (right click the bullet model and set vertex colour to red), then add a transparent additive texture (with fake reflections). Depending which image you use as a reflection texture, you can make it look shiny/metallic.

5- In irrlicht settings, use "sphere map". Use a "seamless metal" as the texture and set vertex to red.

6- Particle effect (using transparent png images) can make it look like light emission - but it's not worth doing on bullets.

7- Animated textures - download an actual LASER sequence from "footagecrate" and animate the texture of the bullet - so effectively your bullets are tiny videos of a real LASER.

8- A combination of any of the above.


dynamogames
Registered User
Quote
2023-01-23 21:24:59

Wow!
Thanks VP.
For the 1st method - are there any lighting conditions I should implement Static, dynamic, or None to any of the cylinders and sorry, but I didn't really get that laser/glow look with this method

For the 3rd method I tried that before but I didn't get that glow/laser effect maybe I got something wrong or the lighting was not correct or I didn't get something right with the bullet(maybe the lighting settings or the texture)

For the 5th method - what do u pls mean by "seamless metal", is it inbuilt in CopperCube or I have to get the texture online? -


VP
Guest
Quote
2023-01-23 21:30:31

You're welcome, tomorrow, I will make some examples for each method and upload them in a ccb file for you.


dynamogames
Registered User
Quote
2023-01-23 21:31:12

For method 2 -- I searched online but I wasn't able to get a PNG file (any image) for laser that was royalty free, and I tried creating one in GIMP but I wasn't able to.


dynamogames
Registered User
Quote
2023-01-23 21:31:42

Ooh okk thanks VP I'll really appreciate that


just_in_case
Moderator
Quote
2023-01-24 04:50:39

There are many ways of creating a laser beam in CC, as @VP suggested you can those methods.

or you can simply use a cylinder with transparent add material and use the bloom effect if you want glow effect.

But the best will be using a laser beam texture, I believe this texture is royalty free, and it works great in CC.

🔎︎



VP
Guest
Quote
2023-01-24 09:48:12

On my original link (also below), I added a file called "LASER_T2" for you, it has a tiny LASER.png I made (it's blue but you can recolour it red/green/yellow/white etc (or I can do it for you if you want) - and also it has the "Mesh-in-a-mesh" bullet, with solid vertex core and transparent vertex glow - also has a red light childed to it, so anything with "Dynamic" lighting will be lit by the Red LASER.

Feel free to use the bullet assets (I made them), the Terminator model (and pulse rifle) are game rips, and are intended for educational purposes only.

https://veganpete.itch.io/skynet

By the way, all my uploads also include the ccb file - I never use coding - so if you see something you like, please feel free to examine them or use them however you want in your own projects without crediting me.


dynamogames
Registered User
Quote
2023-01-24 13:22:18

Thanks so much for all the contributions @ VP and @just_in_case.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact