Jump to content
  • Advertisement


1 Comment


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By Hornok Tibor
      Hello!
      I new for game developing and to gamedev.net.
      I hope somebody can point me to the right direction. I developing a vertical shoot em' up and I want to make some non-traditional backgrounds.
      I want to make something like hyperspace but more cartoonish and colorful, and of course in top-down. i can't find any good example, so if any of you know any way to get good inspiration to make it, thanks!
    • By AireSpringfield
      Hi,
      We know that it is possible to modify the pixel's depth value using "System Value" semantic SV_Depth in this way:
      struct PixelOut { float4 color : SV_Target; float depth : SV_Depth; }; PixelOut PS(VertexOut pin) { PixelOut pout; // … usual pixel work pout.Color = float4(litColor, alpha); // set pixel depth in normalized [0, 1] range pout.depth = pin.PosH.z - 0.05f; return pout; } As many post-effect requires the depth value of current pixel (such as fog, screen space reflection), we need to acquire it in the PS. A common way to do that is to render the depth value to a separate texture and sample it in the PS. But I found this method a bit clumsy because we already have depth value stored in the depth-stencil buffer, so I wonder whether it is possible to access from NATIVE depth buffer instead of ANOTHER depth texture. 
      I found this on MSDN:  https://docs.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-semantics

      that mentions READ depth data in shader. I tried this in Unity:
      half4 frag (Vert2Frag v2f, float depth : SV_Depth) : SV_Target { return half4(depth, depth, depth, 1); } However it turns out to be a pure white image, which means this depth values in all pixels are 1. So is that MSDN wrong? Is it possible to sampling a NATIVE depth buffer?
      Thanks!
    • By Brandon Sharp
      This is my TMNT party wagon. I know its super messed up but it was my first real big project car. I found a blueprint of the car on a Episode of TMNT and when i uploaded it to my 3D program I noticed it was centered. So thank you to whoever rendered that one frame, because its all I needed. I made some custom textures and a UV layout from scratch. It's not exact but hey i think it looks cool. I will defiantly go back in and redo this now I have better knowledge of topology. 
       




    • By Brandon Sharp
      This is a project I've been working on for awhile now. I'd say over all going on around a year. I did the Machbot 2.0 all from scratch including the textures. I spent countless hours trying to figure out how to get the models from Twisted Metal. I finally figured out how to manually extract the mesh. But the only problem was it was not UV mapped. So i pretty much had to go back in and remap everything. Which wasn't hard but the assembling of the model itself was a challenge. I did the best I could at placing stuff where it goes I'm sure there are things that are incorrect. All in all it was for this one render. Not sure if my models can be used as game assets but i do want to eventually make this into a fighting game. Both vehicles and bots. Let me know what you think and thank you for checking out my work. 
       

×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!