You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sphere_ov.material 677B

3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. material sphere_ov_material
  2. {
  3. technique
  4. {
  5. pass
  6. {
  7. ambient 1 1 1
  8. diffuse 1 1 1
  9. // specular 0 0 0 10
  10. // emissive 0 0 0
  11. scene_blend alpha_blend
  12. }
  13. }
  14. }
  15. //the following cg/diffuse shader allows controlling the diffuse component from code using parameter 1
  16. //fragment_program set_color_fp cg
  17. //{
  18. // source diffuse.cg
  19. // entry_point main_ps
  20. // profiles ps_2_0 arbfp1
  21. // default_params
  22. // {
  23. // param_named myColour float4 1 1 1 1
  24. // }
  25. //}
  26. //material cg/diffuse
  27. //{
  28. // technique
  29. // {
  30. // pass
  31. // {
  32. //// lighting off
  33. // scene_blend alpha_blend
  34. // fragment_program_ref set_color_fp
  35. // {
  36. // param_named_auto myColour custom 1
  37. // }
  38. // }
  39. // }
  40. //}