Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Creation

Microscopic shader  [SOLVED]

Shaders, Level design, Sound design, Special effects

Microscopic shader

Postby Psychopsam » 21 Apr 2012, 08:17

Is it possible to add a shader to the engine? I want to create an effect like this...
http://www.krembo99.com/xray-microscope-vray-shader-for-3ds-max/
User avatar
Psychopsam
Platinum Boarder
Platinum Boarder
 
Posts: 428

Re: Microscopic shader

Postby broozar » 21 Apr 2012, 09:43

while it is not currently possible to import your own shaders, you can achieve the desired effect easily by using the "Advanced Effects" tab of the material editor. http://www.stonetrip.com/developer/doc/editor/modules/materialeditor (scroll down to the very bottom).

try playing with backlight, fresnel, and opacity.
User avatar
broozar
Platinum Boarder
Platinum Boarder
 
Posts: 3479
Location: Berlin - Germany

Re: Microscopic shader  [SOLVED]

Postby Psychopsam » 24 Apr 2012, 16:37

Thanks for the tips. Here's the fruits of my labour. 72 hour game jam for Ludum Dare...

http://www.ludumdare.com/compo/ludum-dare-23/?action=preview&uid=12354

Here's the PC Build (newer bug fixed version)
http://drewfx.com/ludumdare/SmallWorld-1.4.0.zip
Here's the Mac Build
http://drewfx.com/ludumdare/SmallWorld_1_4_0_Mac.zip

Instructions on screen, but basically save all the scientists by touching them and avoid getting hit by the spiky things.

Image
User avatar
Psychopsam
Platinum Boarder
Platinum Boarder
 
Posts: 428

Re: Microscopic shader

Postby Benton » 04 Jun 2012, 20:03

Dude this is sweet! Mind sharing your material settings? Please? :) I am making a game with viruses as well.
Join us and chat about ShiVa: http://mibbit.com/#shiva@irc.shivaplace.com:6669\
Or connect your IRC client to: irc.shivaplace.com:6669
User avatar
Benton
Expert Boarder
Expert Boarder
 
Posts: 146

Re: Microscopic shader

Postby Psychopsam » 05 Jun 2012, 00:14

I think this will work - drop the attached material in your Materials folder. This is the material for the spiker.

http://drewfx.com/shiva/spiker_VisualMaterial.mat

You will need to provide a normal map to get the bumpiness as well.

Image
User avatar
Psychopsam
Platinum Boarder
Platinum Boarder
 
Posts: 428


Return to Creation