3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2 3 ... 6

Author Topic: Shader Library For 3DRad...  (Read 14981 times)

« on: March 22, 2010, 07:37:42 PM »
shader library for use with 3DRad.

these shaders encompase many techniques that will now be easily accessable to everyone here useing the latest version of 3DRad.

shader model 2.0 and 3.0 support for all shaders.

edit: projects made with 3DRad v6.45. (can no longer guarantee will work with previous versions of 3DRad)


Version 2.7.1 Update
added:
Specialty Shader Water_Plane_DL_Reflection_Wave
Specialty Shader NormalMap_DL_SubSurface_Color
Specialty Shader NormalMap_DL_SubSurface_Texture
Specialty Shader NormalMap_DL_SubSurface_Color_Fresnel_Edge
Specialty Shader NormalMap_DL_SubSurface_Texture_Fresnel_Edge
Specialty Shader NormalMap_PL_SubSurface_Color
Specialty Shader NormalMap_PL_SubSurface_Texture
Specialty Shader NormalMap_PL_SubSurface_Color_Fresnel_Edge
Specialty Shader NormalMap_PL_SubSurface_Texture_Fresnel_Edge
Specialty Shader NormalMap_CP_DL_SubSurface_Color
Specialty Shader NormalMap_CP_DL_SubSurface_Texture
Specialty Shader NormalMap_CP_DL_SubSurface_Color_Fresnel_Edge
Specialty Shader NormalMap_CP_DL_SubSurface_Texture_Fresnel_Edge
Specialty Shader NormalMap_CP_PL_SubSurface_Color
Specialty Shader NormalMap_CP_PL_SubSurface_Texture
Specialty Shader NormalMap_CP_PL_SubSurface_Color_Fresnel_Edge
Specialty Shader NormalMap_CP_PL_SubSurface_Texture_Fresnel_Edge

and projects for the above.

added extra shader code text file:
SubSurface_Color
SubSurface_Texture
Fresnel_Edge


//-----------------------------------------------------------------------------
//prevous versions

Version 2.5.4 Update
Water Flat Plane Reflection DL Shader
Water Flat Plane Refraction DL Shader
Water Flat Plane Reflection PL Shader
Water Flat Plane Refraction PL Shader
//-----------------------------------------------------------------------------

you can down load the projects and scripts here: shader_library_v2_7_1.zip (.zip packed with winrar)

below is a list of the library so far...

//************************************************************
Shader auto selector - auto detecs highest shader model and tells
                       the shaders what version to use.
//************************************************************

Script: Shader_Model_Auto_Select_Global_Data

//************************************************************
Emissive library: (24 shaders)
//************************************************************

Script: Shader_Emissive
Script: Shader_Emissive_Blend_A_B
Script: Shader_Emissive_Blend_A_B_Pan
Script: Shader_Emissive_Blend_A_B_Pan_Rotate
Script: Shader_Emissive_Blend_A_B_Rotate
Script: Shader_Emissive_Blur_Blend_A_B
Script: Shader_Emissive_Blur_Blend_A_B_Pan
Script: Shader_Emissive_Blur_Blend_A_B_Pan_Rotate
Script: Shader_Emissive_Blur_Blend_A_B_Rotate
Script: Shader_Emissive_Blur_Pan_Rotate_Texture
Script: Shader_Emissive_Blur_Pan_Texture
Script: Shader_Emissive_Blur_Play_Movie
Script: Shader_Emissive_Blur_Play_Movie_Rotate
Script: Shader_Emissive_Blur_Rotate_Texture
Script: Shader_Emissive_Blur_Texture
Script: Shader_Emissive_Blur_Texture_Coord_Select
Script: Shader_Emissive_Blur_Texture_Rotate_Coord_Select
Script: Shader_Emissive_Pan_Rotate_Texture
Script: Shader_Emissive_Pan_Texture
Script: Shader_Emissive_Play_Movie
Script: Shader_Emissive_Play_Movie_Rotate
Script: Shader_Emissive_Rotate_Texture
Script: Shader_Emissive_Texture_Coord_Select
Script: Shader_Emissive_Texture_Rotate_Coord_Select

//************************************************************
Emissive Clip Plane library: (24 shaders)
//************************************************************

Same as Emissive except with a clip plane.

//************************************************************
NormalMap Directional Light (sunlight object) Library: (19 shaders)
//************************************************************

Script: Shader_NormalMap_DL
Script: Shader_NormalMap_DL_AlphaMap
Script: Shader_NormalMap_DL_SpecMap
Script: Shader_NormalMap_DL_SpecMap_AlphaMap
Script: Shader_NormalMap_DL_Pan
Script: Shader_NormalMap_DL_Normal_Only_Pan
Script: Shader_NormalMap_DL_Color_Only_Pan
Script: Shader_NormalMap_DL_Texture_Coord_Select
Script: Shader_NormalMap_DL_Play_Movie
Script: Shader_NormalMap_DL_Play_Movie_Color_Only
Script: Shader_NormalMap_DL_Play_Movie_Normal_Only
Script: Shader_NormalMap_DL_Blend_A_B
Script: Shader_NormalMap_DL_Blend_A_B_Pan
Script: Shader_NormalMap_DL_Blend_A_B_Color_Only
Script: Shader_NormalMap_DL_Blend_A_B_Color_Only_Pan
Script: Shader_NormalMap_DL_Blend_A_B_Normal_Only
Script: Shader_NormalMap_DL_Blend_A_B_Normal_Only_Pan
Script: Shader_NormalMap_DL_Cube_ShadowMap
Script: Shader_NormalMap_DL_Cube_ShadowMap_Static

//************************************************************
NormalMap Clip Plane Directional Light  (sunlight object) library: (19 shaders)
//************************************************************

Same as NormalMap Directional Light  except with a clip plane.

//************************************************************
NormalMap Directional Light Ind UV (sunlight object) Library: (17 shaders)
//************************************************************

Script: Shader_NormalMap_DL_Ind_UV
Script: Shader_NormalMap_DL_AlphaMap_Ind_UV
Script: Shader_NormalMap_DL_SpecMap_Ind_UV
Script: Shader_NormalMap_DL_SpecMap_AlphaMap_Ind_UV
Script: Shader_NormalMap_DL_Pan_Ind_UV
Script: Shader_NormalMap_DL_Normal_Only_Pan_Ind_UV
Script: Shader_NormalMap_DL_Color_Only_Pan_Ind_UV
Script: Shader_NormalMap_DL_Play_Movie_Color_Only_Ind_UV
Script: Shader_NormalMap_DL_Play_Movie_Normal_Only_Ind_UV
Script: Shader_NormalMap_DL_Blend_A_B_Ind_UV
Script: Shader_NormalMap_DL_Blend_A_B_Pan_Ind_UV
Script: Shader_NormalMap_DL_Blend_A_B_Color_Only_Ind_UV
Script: Shader_NormalMap_DL_Blend_A_B_Color_Only_Pan_Ind_UV
Script: Shader_NormalMap_DL_Blend_A_B_Normal_Only_Ind_UV
Script: Shader_NormalMap_DL_Blend_A_B_Normal_Only_Pan_Ind_UV
Script: Shader_NormalMap_DL_Cube_ShadowMap_Ind_UV
Script: Shader_NormalMap_DL_Cube_ShadowMap_Static_Ind_UV

//************************************************************
NormalMap Clip Plane Directional Light Ind UV (sunlight object) library: (17 shaders)
//************************************************************

Same as NormalMap Directional Light Ind UV except with a clip plane.

//************************************************************
NormalMap Reflect Directional Light(sunlight object) Library: (17 shaders) - (not recomended for use on a flat plane)
//************************************************************


Script: Shader_NormalMap_Reflect_DL
Script: Shader_NormalMap_Reflect_DL_AlphaMap
Script: Shader_NormalMap_Reflect_DL_SpecMap
Script: Shader_NormalMap_Reflect_DL_SpecMap_AlphaMap
Script: Shader_NormalMap_Reflect_DL_Pan
Script: Shader_NormalMap_Reflect_DL_Normal_Only_Pan
Script: Shader_NormalMap_Reflect_DL_Color_Only_Pan
Script: Shader_NormalMap_Reflect_DL_Texture_Coord_Select
Script: Shader_NormalMap_Reflect_DL_Play_Movie
Script: Shader_NormalMap_Reflect_DL_Play_Movie_Color_Only
Script: Shader_NormalMap_Reflect_DL_Play_Movie_Normal_Only
Script: Shader_NormalMap_Reflect_DL_Blend_A_B
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Pan
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Color_Only
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Color_Only_Pan
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Normal_Only
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Normal_Only_Pan

//************************************************************
NormalMap Reflect Flat Plane Directional Light (sunlight object) Library: (17 shaders) - (for use on a flat plane)
//************************************************************


same as "NormalMap Reflect Directional Light" shader set except for use on a flat plane.

//************************************************************
NormalMap Reflect Directional Light Ind UV (sunlight object) Library: (15 shaders) - (not recomended for use on a flat plane)
//************************************************************

Script: Shader_NormalMap_Reflect_DL_Ind_UV
Script: Shader_NormalMap_Reflect_DL_AlphaMap_Ind_UV
Script: Shader_NormalMap_Reflect_DL_SpecMap_Ind_UV
Script: Shader_NormalMap_Reflect_DL_SpecMap_AlphaMap_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Normal_Only_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Color_Only_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Play_Movie_Color_Only_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Play_Movie_Normal_Only_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Color_Only_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Color_Only_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Normal_Only_Ind_UV
Script: Shader_NormalMap_Reflect_DL_Blend_A_B_Normal_Only_Pan_Ind_UV

//************************************************************
NormalMap Reflect Flat Plane Directional Light Ind UV (sunlight object) Library: (15 shaders) - (for use on a flat plane)
//************************************************************

same as "NormalMap Reflect Directional Light  Ind UV" shader set except for use on a flat plane.

//************************************************************
NormalMap Glass Solid Directional Light (sunlight object) Library: (9 shaders) - (not recomended for use on a flat plane)

Note: Glass Shaders don't need a diffusemap but they have a color value you can use to set color of glass.
//************************************************************

Script: Shader_NormalMap_Glass_Solid_DL
Script: Shader_NormalMap_Glass_Solid_DL_AlphaMap
Script: Shader_NormalMap_Glass_Solid_DL_Blend_A_B
Script: Shader_NormalMap_Glass_Solid_DL_Blend_A_B_Pan
Script: Shader_NormalMap_Glass_Solid_DL_Pan
Script: Shader_NormalMap_Glass_Solid_DL_Play_Movie
Script: Shader_NormalMap_Glass_Solid_DL_SpecMap
Script: Shader_NormalMap_Glass_Solid_DL_SpecMap_AlphaMap
Script: Shader_NormalMap_Glass_Solid_DL_Texture_Coord_Select

//************************************************************
NormalMap Glass Hollow Directional Light (sunlight object) Library: (9 shaders) - (not recomended for use on a flat plane)

Note: Glass Shaders don't need a diffusemap but they have a color value you can use to set color of glass.
//************************************************************

Script: Shader_NormalMap_Glass_Hollow_DL
Script: Shader_NormalMap_Glass_Hollow_DL_AlphaMap
Script: Shader_NormalMap_Glass_Hollow_DL_Blend_A_B
Script: Shader_NormalMap_Glass_Hollow_DL_Blend_A_B_Pan
Script: Shader_NormalMap_Glass_Hollow_DL_Pan
Script: Shader_NormalMap_Glass_Hollow_DL_Play_Movie
Script: Shader_NormalMap_Glass_Hollow_DL_SpecMap
Script: Shader_NormalMap_Glass_Hollow_DL_SpecMap_AlphaMap
Script: Shader_NormalMap_Glass_Hollow_DL_Texture_Coord_Select

//************************************************************
NormalMap Point Light (sunlight object - ambient) Library: (19 shaders)
//************************************************************

Script: Shader_NormalMap_PL
Script: Shader_NormalMap_PL_AlphaMap
Script: Shader_NormalMap_PL_SpecMap
Script: Shader_NormalMap_PL_SpecMap_AlphaMap
Script: Shader_NormalMap_PL_Pan
Script: Shader_NormalMap_PL_Normal_Only_Pan
Script: Shader_NormalMap_PL_Color_Only_Pan
Script: Shader_NormalMap_PL_Texture_Coord_Select
Script: Shader_NormalMap_PL_Play_Movie
Script: Shader_NormalMap_PL_Play_Movie_Color_Only
Script: Shader_NormalMap_PL_Play_Movie_Normal_Only
Script: Shader_NormalMap_PL_Blend_A_B
Script: Shader_NormalMap_PL_Blend_A_B_Pan
Script: Shader_NormalMap_PL_Blend_A_B_Color_Only
Script: Shader_NormalMap_PL_Blend_A_B_Color_Only_Pan
Script: Shader_NormalMap_PL_Blend_A_B_Normal_Only
Script: Shader_NormalMap_PL_Blend_A_B_Normal_Only_Pan
Script: Shader_NormalMap_PL_Cube_ShadowMap
Script: Shader_NormalMap_PL_Cube_ShadowMap_Static

//************************************************************
NormalMap CP Point Light (sunlight object - ambient) Library: (19 shaders)
//************************************************************


Same as "NormalMap Point Light" except with a clip plane.

//************************************************************
NormalMap Point Light Ind UV (sunlight object - ambient) Library: (17 shaders)
//************************************************************

Script: Shader_NormalMap_PL_Ind_UV
Script: Shader_NormalMap_PL_AlphaMap_Ind_UV
Script: Shader_NormalMap_PL_SpecMap_Ind_UV
Script: Shader_NormalMap_PL_SpecMap_AlphaMap_Ind_UV
Script: Shader_NormalMap_PL_Pan_Ind_UV
Script: Shader_NormalMap_PL_Normal_Only_Pan_Ind_UV
Script: Shader_NormalMap_PL_Color_Only_Pan_Ind_UV
Script: Shader_NormalMap_PL_Play_Movie_Color_Only_Ind_UV
Script: Shader_NormalMap_PL_Play_Movie_Normal_Only_Ind_UV
Script: Shader_NormalMap_PL_Blend_A_B_Ind_UV
Script: Shader_NormalMap_PL_Blend_A_B_Pan_Ind_UV
Script: Shader_NormalMap_PL_Blend_A_B_Color_Only_Ind_UV
Script: Shader_NormalMap_PL_Blend_A_B_Color_Only_Pan_Ind_UV
Script: Shader_NormalMap_PL_Blend_A_B_Normal_Only_Ind_UV
Script: Shader_NormalMap_PL_Blend_A_B_Normal_Only_Pan_Ind_UV
Script: Shader_NormalMap_PL_Cube_ShadowMap_Ind_UV
Script: Shader_NormalMap_PL_Cube_ShadowMap_Static_Ind_UV

//************************************************************
NormalMap CP Point Light Ind UV (sunlight object - ambient) Library: (17 shaders)
//************************************************************


Same as "NormalMap Point Light Ind UV" except with a clip plane.

//************************************************************
NormalMap Reflect Point Light (sunlight object - ambient) Library: (17 shaders) - (not recomended for use on a flat plane)
//************************************************************

Script: Shader_NormalMap_Reflect_PL
Script: Shader_NormalMap_Reflect_PL_AlphaMap
Script: Shader_NormalMap_Reflect_PL_SpecMap
Script: Shader_NormalMap_Reflect_PL_SpecMap_AlphaMap
Script: Shader_NormalMap_Reflect_PL_Pan
Script: Shader_NormalMap_Reflect_PL_Normal_Only_Pan
Script: Shader_NormalMap_Reflect_PL_Color_Only_Pan
Script: Shader_NormalMap_Reflect_PL_Texture_Coord_Select
Script: Shader_NormalMap_Reflect_PL_Play_Movie
Script: Shader_NormalMap_Reflect_PL_Play_Movie_Color_Only
Script: Shader_NormalMap_Reflect_PL_Play_Movie_Normal_Only
Script: Shader_NormalMap_Reflect_PL_Blend_A_B
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Pan
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Color_Only
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Color_Only_Pan
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Normal_Only
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Normal_Only_Pan

//************************************************************
NormalMap Reflect Flat Plane Point Light (sunlight object - ambient) Library: (17 shaders) - (for use on a flat plane)
//************************************************************

same as "NormalMap Reflect Point Light" shader set except for use on a flat plane.

//************************************************************
NormalMap Reflect Point Light Ind UV (sunlight object - ambient) Library: (15 shaders) - (not recomended for use on a flat plane)
//************************************************************

Script: Shader_NormalMap_Reflect_PL_Ind_UV
Script: Shader_NormalMap_Reflect_PL_AlphaMap_Ind_UV
Script: Shader_NormalMap_Reflect_PL_SpecMap_Ind_UV
Script: Shader_NormalMap_Reflect_PL_SpecMap_AlphaMap_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Normal_Only_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Color_Only_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Play_Movie_Color_Only_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Play_Movie_Normal_Only_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Color_Only_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Color_Only_Pan_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Normal_Only_Ind_UV
Script: Shader_NormalMap_Reflect_PL_Blend_A_B_Normal_Only_Pan_Ind_UV

//************************************************************
NormalMap Reflect Flat Plane Point Light Ind UV (sunlight object - ambient) Library: (17 shaders) - (for use on a flat plane)
//************************************************************

same as "NormalMap Reflect Point Light Ind UV " shader set except for use on a flat plane.

//************************************************************
NormalMap Glass Solid Point Light (sunlight object - ambient) Library: (9 shaders) - (not recomended for use on a flat plane)
//************************************************************

Script: Shader_NormalMap_Glass_Solid_PL
Script: Shader_NormalMap_Glass_Solid_PL_AlphaMap
Script: Shader_NormalMap_Glass_Solid_PL_Blend_A_B
Script: Shader_NormalMap_Glass_Solid_PL_Blend_A_B_Pan
Script: Shader_NormalMap_Glass_Solid_PL_Pan
Script: Shader_NormalMap_Glass_Solid_PL_Play_Movie
Script: Shader_NormalMap_Glass_Solid_PL_SpecMap
Script: Shader_NormalMap_Glass_Solid_PL_SpecMap_AlphaMap
Script: Shader_NormalMap_Glass_Solid_PL_Texture_Coord_Select

//************************************************************
NormalMap Glass Hollow Point Light (sunlight object - ambient) Library: (9 shaders) - (not recomended for use on a flat plane)
//************************************************************

Script: Shader_NormalMap_Glass_Hollow_PL
Script: Shader_NormalMap_Glass_Hollow_PL_AlphaMap
Script: Shader_NormalMap_Glass_Hollow_PL_Blend_A_B
Script: Shader_NormalMap_Glass_Hollow_PL_Blend_A_B_Pan
Script: Shader_NormalMap_Glass_Hollow_PL_Pan
Script: Shader_NormalMap_Glass_Hollow_PL_Play_Movie
Script: Shader_NormalMap_Glass_Hollow_PL_SpecMap
Script: Shader_NormalMap_Glass_Hollow_PL_SpecMap_AlphaMap
Script: Shader_NormalMap_Glass_Hollow_PL_Texture_Coord_Select

//************************************************************
Specialty Shader Library: (5 shader)
//************************************************************

Script: Shader_Electricity
Script: Shader_Water_Plane_DL_Reflection
Script: Shader_Water_Plane_DL_Refraction
Script: Shader_Water_Plane_PL_Reflection
Script: Shader_Water_Plane_PL_Refraction
Script: Shader_Water_Plane_DL_Reflection_Wave
Script: Shader_NormalMap_DL_SubSurface_Color
Script: Shader_NormalMap_DL_SubSurface_Texture
Script: Shader_NormalMap_DL_SubSurface_Color_Fresnel_Edge
Script: Shader_NormalMap_DL_SubSurface_Texture_Fresnel_Edge
Script: Shader_NormalMap_PL_SubSurface_Color
Script: Shader_NormalMap_PL_SubSurface_Texture
Script: Shader_NormalMap_PL_SubSurface_Color_Fresnel_Edge
Script: Shader_NormalMap_PL_SubSurface_Texture_Fresnel_Edge

//************************************************************
Specialty CP Shader Library: (1 shader)
//************************************************************

same as Specialty Shader Library with a clip plane(Excluding water shaders)

NOTES: included in download...

anyway hope this is useful and saves alot of time for you as it will for me  :).

and some pics...

« Last Edit: May 01, 2011, 04:48:10 PM by genetransfer »
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
« Reply #1 on: March 22, 2010, 09:21:44 PM »
This is much appreciated Genetransfer! I currently havent used any of the shaders yet, but once I finish my current project Im positive these are gonna come in handy, ill be sure to make sure I donate for your excelent work and let you know if I need any custom stuff  also;)
Roll out!
http://www.youtube.com/watch?v=VD8MvMaPNO4

Do you have kids between the ages of 3 and 9?

http://www.amazon.com/dp/B007K1EFC6
« Reply #2 on: March 23, 2010, 12:35:46 AM »
no problem Weapon121! thanks very much for the support! :)

Also Updated to version 1.2.0. see above for details.
« Last Edit: March 24, 2010, 06:59:05 PM by genetransfer »
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
« Reply #3 on: March 23, 2010, 02:23:37 AM »
This is very much appreciated Genetransfer, I will make you a donation for this excellent line of work you've done with the custom shaders.

Thanks a bunch, this is worth gold :)
« Reply #4 on: March 23, 2010, 04:38:15 AM »
thanks for the encouragment Shadmar :). yeah these are gonna make life so much easier especially once they are all done. it will be good to just focus on the game then than rather make some progress then have to stop make a shader to do such and such then back to it, so it should help with momentum aswell.

glass solid and hollow should be out tommorow 8) :).
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
« Reply #5 on: March 23, 2010, 04:55:42 AM »
This looks like an awful lot of work Genetransfer  8)

Being brand new to 3drad I am still a little out of my depth with how sophisticated shaders can be used in this engine and still keep up a decent fps (I am struggling with framerate in 3drad). What I do realise however is that with proper use these could really make a difference for a lot of people making even really low poly models look pretty fantastic.

Is it possible to put an explanation of what each shader does alongside each one, and perhaps put your post in a sticky in the artists forum ? Hope I will be able to find a use for these once I am over my learning curve here and would be happy to donate for their use.
"You are what you eat" - Tiny Tim
« Reply #6 on: March 23, 2010, 05:18:58 AM »
your a shader machine!
« Reply #7 on: March 23, 2010, 08:35:32 AM »
I'd like to offer a donation too! Where can I do this?
« Reply #8 on: March 23, 2010, 10:15:38 AM »
Look for this line under the actual link to download the library ;)

"free to use for all but if you want a make a donation to support me you can here."
Roll out!
http://www.youtube.com/watch?v=VD8MvMaPNO4

Do you have kids between the ages of 3 and 9?

http://www.amazon.com/dp/B007K1EFC6
« Reply #9 on: March 23, 2010, 10:27:32 AM »
Doh!!! :) missed that bit. thanks.
« Reply #10 on: March 23, 2010, 03:25:15 PM »
thanks very very much for the support guys, your awsome! can't thank you enough! :)
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
« Reply #11 on: March 23, 2010, 05:06:04 PM »
Hi genetransfer
I don't fully understand shaders but do appreciate you effort. I can see the massive amount of work that has gone into these. You and shadmar should be so proud of your efforts. For those who don't understand shaders and even ones who do this will give us a good kick start to better looking games.

n_iron
« Reply #12 on: March 23, 2010, 10:02:31 PM »
appreciate it n_iron :). yeah once you get a grip on them they are very easy to use. Took ages to learn to write them though so glad that's behind me for the most part now:).

version 1.3.0 is now available. added glass solid shader set.see original post. :)
« Last Edit: March 24, 2010, 06:58:40 PM by genetransfer »
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
« Reply #13 on: March 24, 2010, 01:18:27 AM »
version 1.4.0 is now available. added glass hollow shader set.see original post.

Quote
This looks like an awful lot of work Genetransfer   

Being brand new to 3drad I am still a little out of my depth with how sophisticated shaders can be used in this engine and still keep up a decent fps (I am struggling with framerate in 3drad). What I do realise however is that with proper use these could really make a difference for a lot of people making even really low poly models look pretty fantastic.

Is it possible to put an explanation of what each shader does alongside each one, and perhaps put your post in a sticky in the artists forum ? Hope I will be able to find a use for these once I am over my learning curve here and would be happy to donate for their use.

@shahala, I will put a description as well as well as what the values can do once I'm finnished with the library.

but some basic's:

pan: alows for texture scrolling either on the x or y UV coords.

rotate: alows for rotating a texture

Blend_A_B allows for smooth blending of two different textures A -> B like in film.

texture_coord_Select: allows you to devide the texture up in to a grid and focus on a section of the grid.

play_movie: animation sheet played on a skinmesh.(normal mapped of color or both depending on the shader)

Cube_ShadowMap: this basically allows you to project a cube map onto the skinmesh with reflection update rate set to zero.

Blur: blurs the texture by sampleing it.

glass solid shaders have reflection and refraction aswell as setting the color for them, with above combinations..

glass hollow shaders have reflection aswell as setting the color for them, with above combinations.

and the rest are combo's of these techniques.

hope that helps a bit and good luck with your journey! :)
« Last Edit: March 24, 2010, 06:58:24 PM by genetransfer »
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
« Reply #14 on: March 24, 2010, 07:04:58 PM »
version 1.5.0 is now available. added point light shader set.see original post. (also changed version numbers for shader library)
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
Pages: [1] 2 3 ... 6