forked from Revolutionary-Games/Thrive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved materials to git (Revolutionary-Games#748) (Revolutionary-Games…
…#777) * Moved the materials and shaders to git * Updated the version number * Fixed some compiler warnings and made the move constructors noexcept Otherwise standard containers don't use the move operations
- Loading branch information
1 parent
fcc4784
commit 354d08d
Showing
42 changed files
with
1,743 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
material ER | ||
{ | ||
receive_shadows on | ||
|
||
technique | ||
{ | ||
pass ER | ||
{ | ||
// lighting off | ||
|
||
scene_blend alpha_blend | ||
depth_write off | ||
|
||
vertex_program_ref Organelle_VS | ||
{ | ||
param_named_auto worldViewProj worldviewproj_matrix | ||
param_named_auto time time_0_2pi 20 | ||
param_named size float 0.05 | ||
param_named maxRot float 15 | ||
} | ||
fragment_program_ref Organelle_PS | ||
{ | ||
param_named tex int 0 | ||
param_named_auto organelleColour custom 1 | ||
} | ||
|
||
texture_unit | ||
{ | ||
texture ER.png gamma | ||
alpha_op_ex modulate src_manual src_texture 0.7 | ||
colour_op_ex modulate src_manual src_texture 1.0 1.0 1.0 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
|
||
|
||
material AgentVacuoleMaterial3 | ||
{ | ||
receive_shadows on | ||
|
||
technique | ||
{ | ||
pass AgentVacuoleMaterial3 | ||
{ | ||
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0 | ||
diffuse 0.6400000190734865 0.6400000190734865 0.6400000190734865 1.0 | ||
specular 0.0 0.0 0.0 1.0 12.5 | ||
emissive 0.4000000059604645 0.4000000059604645 0.4000000059604645 1.0 | ||
|
||
alpha_to_coverage off | ||
colour_write on | ||
cull_hardware clockwise | ||
depth_check on | ||
depth_func less_equal | ||
depth_write on | ||
illumination_stage | ||
light_clip_planes off | ||
light_scissor off | ||
// lighting on | ||
// normalise_normals off | ||
polygon_mode solid | ||
scene_blend one zero | ||
scene_blend_op add | ||
shading gouraud | ||
// transparent_sorting on | ||
|
||
vertex_program_ref Organelle_VS | ||
{ | ||
param_named size float 0.01 | ||
param_named maxRot float 180 | ||
} | ||
fragment_program_ref Organelle_PS | ||
{ | ||
param_named tex int 0 | ||
param_named_auto organelleColour custom 1 | ||
} | ||
texture_unit | ||
{ | ||
texture AgentVacuole.png gamma | ||
tex_address_mode wrap | ||
scale 1.0 1.0 | ||
tex_coord_set 0 | ||
colour_op modulate | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.