Jump to content

Recommended Posts

Posted

Hello! I'm trying to apply a material to a sprite, but the texture does not look the same on the material and by itself. Here is a difference:

 

SrbIqbt.png

 

 

QNMIiIr.png

 

As you can see, the material somehow ignores/destroys the blurry aspect of the texture and gives it straight edges.

 

I'm using the Editor/sprite.shader. Is there a way to keep the blur of the texture when the latter is applied to a material.

 

Thank you!

 

P.S. Here are material settings:

0HumIQS.png

Posted

Your texture fades/blurs using alpha. You should then blend alpha not light. If you want to blend light the laser should be on a black background instead of alpha.

  • Upvote 2

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Posted

Thanks! Works perfectly.

 

vG7sXz4.png

 

For a recap, one should use the diffuse model shader - I was using the editor's sprite shader -, and put a texture image on a black background to use the "light" blend mode.

 

6UDhoPc.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...