source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Missing Shaders sources

Open ghost opened this issue 13 years ago • 5 comments

Hi again, according to the hot debate here : https://github.com/ValveSoftware/source-sdk-2013/issues/26#issuecomment-23615329

I post the list of the shaders I need and that are missing from the 2013 sdk.

Shaders available in 2007 sdk

cable eyes eyeglint eye_refract flesh lightmappedgeneric refract skin_dx9 teeth unlitgeneric unlittwotexture vertexlit_generic water worldtwotextureblend world vertexalpha worldvertextransition

Shaders not available in 2007 sdk

Note : it would be useful to have these shaders.

clouds details sky sky_hdr shadows model sprite volumecloud

Shader utilities

depthdesttoalpha depthwrite downsample downsample_nohdr

blurFilter_y blurFilter_x blurGaussian

Shader for debug

debugtextureView debugnormal debugrttexture debugTangentSpace debugDrawDepth

i know it represent lot of shaders so i don't expect the shader will be converted with the "SDK_" stuffs We can add the falback preffix ourself :)

thank you Nicolas Kirsch

ghost avatar Sep 02 '13 18:09 ghost

It's not related to the shaders, instead your glow materials are not precached.

Sandern avatar Sep 07 '13 14:09 Sandern

@bloodyskull could you post that kind of question in the SDK forums? It is cluttering up the issue!

Back to this problem, can I throw my hat into the shader source request too?

I ported our 2007 shaders over to 2013 - which works fine for Linux and Windows, however with some help from someone on the forums, we found our Mac version has some fun issues: http://i.imgur.com/DWj11qv.jpg, http://i.imgur.com/mCWQ3CG.jpg, http://i.imgur.com/uk655xF.jpg

So we would love to get the shader sources that @fuzzzzzz listed above too please.

alanedwardes avatar Sep 07 '13 18:09 alanedwardes

hello i come here we a new request about shader , i am not sure if this request require a new issue.

I must to access two function of the shaderAPI, and for some reason , this function are missing into 2013 sdk.

  1. GetTesselation for VS3.0 shaders (public/shaderapi/ishaderdynamic.h)

it would be possible to create many improved shaders.

  • best shadows
  • displacement map
  • ocean shader
  • cloth shader
  • foliage vertex animations. (like treesway)

All this features are available in Alienswarm and SFM, but unfortunately not for 2013. and so it wil probably make it harder for modmaker to improve the rendering engine. Also TF2 use HW morphs and so it make sense that TF2 can deal with dx9 tesselation.

  1. GetFlashlightAmbientOcclusion( ) ( into public/shaderapi/ishaderdynamic.h )

This should help a lot to improve the lightning and shadows on the models, particularily to soften the flashlight when the player is too close of any npc..

I hope this will happen instead of maintain 2013 mod maker to the rock age.

Edit :

I add some more bad feed back sorry, but it make thing harder to work with the existent shaders. Let me explain :
I am trying to improve de Depth of field I added to my mod. Well to improve it, I need to access the downsample post process. but i just simply can't say if this shader is implemented into the engine branch. And in the case the shader exists on this engine branch, i just can't recompile the game_shader_dx9.dll to use it. And same problem about another shader i need to access for the depth of field, ( depthtoalpha ) how can I be sure this is handled by the engine ? how could I use it with my own shader if i don't have the source of the shader ?

So it would be probably a good thing if Valve staff creates a sort of documentation about what can and what can't be done to access the current materialsystem, and also what will not be supported with that engine branch.compared to TF2 shader code. It should have to be publish on the wiki into the shader authoring section dedicated to source 2013. Or just simply remove all the material system from the SDK and explicitly tell that it not to touch the material system for this engine branch. . Also in my workflow, and to confirm what shader are supported on this branch, consist to open the plateform directory and check the Shaders list. So sorry to have to say that, but it really a sick workflow for me and surely also for other mod makers who choose this engine branch.

Also all these shader are now very very old, so why not released them all ? you publish 2013 and give unix system support, but or we have to port the shaders from alienswarm, or the one from 2007 sdk. and it break the unix compatibility. how at valve you should work on a game title with all these limitation ? You would surely not choose that engine to develop your own game, right ?

Nicolas

ghost avatar Sep 22 '13 02:09 ghost

These were added here: https://github.com/ValveSoftware/source-sdk-2013/commit/7309a5f13f63fdcc7b1e090f6c176113a9d95061

The shaders are not in the projects and have not been renamed. If you need to add them to your project you will need to rename them.

Enjoy!

JoeLudwig avatar Dec 23 '13 23:12 JoeLudwig

it's christmas now =) thank you Joe, have a great Christmas day.

ghost avatar Dec 23 '13 23:12 ghost